Browse Source

Introductions are now added as well

pull/2113/head
Michael Vogel 5 years ago
parent
commit
68916689de
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      mod/manage.php

+ 5
- 0
mod/manage.php 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;
}


Loading…
Cancel
Save