From: Michael Vogel Date: Sat, 28 Nov 2015 22:35:02 +0000 (+0100) Subject: Introductions are now added as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=68916689de86eabde434aaf1349aab0ca32a3b00;p=friendica.git Introductions are now added as well --- diff --git a/mod/manage.php b/mod/manage.php index 3f2023b7e3..adcc3d787a 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -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; }