diff options
-rw-r--r-- | feed.php | 2 | ||||
-rw-r--r-- | include/functions_notification.inc.php | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -144,7 +144,7 @@ $rss->link = $conf['gallery_url']; // | Feed creation | // +-----------------------------------------------------------------------+ -$news = news($user['last_check'], $dbnow, true); +$news = news($user['last_check'], $dbnow, true, true); if (count($news) > 0) { diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index de13a28c9..d90d90afa 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -410,11 +410,11 @@ function news($start, $end, $exclude_img_cats=false, $add_url=false) add_news_line( $news, nb_new_users($start, $end), l10n('%d new users'), - PHPWG_ROOT_PATH.'admin.php?page=user_list', $add_url ); + get_root_url().'admin.php?page=user_list', $add_url ); add_news_line( $news, nb_waiting_elements(), l10n('%d waiting elements'), - PHPWG_ROOT_PATH.'admin.php?page=waiting', $add_url ); + get_root_url().'admin.php?page=waiting', $add_url ); } return $news; |