X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanage.php;h=adcc3d787aac0d58563cbd5d38e82e50384498d2;hb=338fa5765c4884d2f6674540ea49e90caabdb042;hp=3f2023b7e3cd2b1d01c6c4461f9f92e778b2dec7;hpb=3067663909e7a5553d55d0dc385d02998c1961a0;p=friendica.git 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; }