1
0
Fork 0

Undefined variable

This commit is contained in:
Pierre Rudloff 2017-12-23 01:30:50 +01:00
parent 521d4b09b6
commit 70ab9dc9be

View file

@ -3163,10 +3163,10 @@ function api_statuses_f($qtype)
return false;
}
$sql_extra = '';
if ($qtype == 'friends') {
$sql_extra = sprintf(" AND ( `rel` = %d OR `rel` = %d ) ", intval(CONTACT_IS_SHARING), intval(CONTACT_IS_FRIEND));
}
if ($qtype == 'followers') {
} elseif ($qtype == 'followers') {
$sql_extra = sprintf(" AND ( `rel` = %d OR `rel` = %d ) ", intval(CONTACT_IS_FOLLOWER), intval(CONTACT_IS_FRIEND));
}