Introductions are now added as well
This commit is contained in:
parent
58a261a29a
commit
68916689de
|
@ -127,6 +127,11 @@ function manage_content(&$a) {
|
|||
if ($r)
|
||||
$notifications = $notifications + sizeof($r);
|
||||
|
||||
$r = q("SELECT COUNT(*) AS `introductions` FROM `intro` WHERE NOT `blocked` AND NOT `ignore` AND `uid` = %d",
|
||||
intval($id['uid']));
|
||||
if ($r)
|
||||
$notifications = $notifications + $r[0]["introductions"];
|
||||
|
||||
$identities[$key]['notifications'] = $notifications;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue