Introductions are now added as well

This commit is contained in:
Michael Vogel 2015-11-28 23:35:02 +01:00
parent 58a261a29a
commit 68916689de

View file

@ -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;
}