diff options
Diffstat (limited to 'notification.php')
-rw-r--r-- | notification.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/notification.php b/notification.php index a1250428c..4154501c9 100644 --- a/notification.php +++ b/notification.php @@ -51,8 +51,18 @@ INSERT INTO '.USER_FEED_TABLE.' ;'; pwg_query($query); -$feed_url=PHPWG_ROOT_PATH.'feed.php?feed='.$page['feed']; -$feed_image_only_url=$feed_url.'&image_only'; + +$feed_url=PHPWG_ROOT_PATH.'feed.php'; +if ($user['is_the_guest']) +{ + $feed_image_only_url=$feed_url; + $feed_url .= '?feed='.$page['feed']; +} +else +{ + $feed_url .= '?feed='.$page['feed']; + $feed_image_only_url=$feed_url.'&image_only'; +} // +-----------------------------------------------------------------------+ // | template initialization | |