mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
Some fixes:
- avoids warning if no result is coming back - brought back init variable before using it Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
636164e9ef
commit
e171a1cd22
2 changed files with 5 additions and 1 deletions
|
@ -732,6 +732,8 @@ function dfrn_request_content(&$a) {
|
|||
intval($intro[0]['contact-id'])
|
||||
);
|
||||
|
||||
$auto_confirm = false;
|
||||
|
||||
if(dbm::is_result($r)) {
|
||||
if(($r[0]['page-flags'] != PAGE_NORMAL) && ($r[0]['page-flags'] != PAGE_PRVGROUP))
|
||||
$auto_confirm = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue