aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--feed.php2
-rw-r--r--include/functions_notification.inc.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/feed.php b/feed.php
index 61fd63300..ebc1ef63b 100644
--- a/feed.php
+++ b/feed.php
@@ -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;