aboutsummaryrefslogtreecommitdiff
path: root/www/watchlist.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/watchlist.php')
-rw-r--r--www/watchlist.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/watchlist.php b/www/watchlist.php
index ded6782..667cbe9 100644
--- a/www/watchlist.php
+++ b/www/watchlist.php
@@ -62,7 +62,7 @@ if ($user) {
$templateservice->loadTemplate('error.404.tpl', $tplVars);
exit();
} else {
- $userid =& $userinfo->getId();
+ $userid = $userinfo->getId();
}
}
}
@@ -73,7 +73,7 @@ $tplVars['loadjs'] = true;
if ($user) {
$tplVars['user'] = $user;
$tplVars['userid'] = $userid;
- $tplVars['userinfo'] =& $userinfo;
+ $tplVars['userinfo'] = $userinfo;
// Pagination
$perpage = getPerPageCount($currentUser);
@@ -91,12 +91,12 @@ if ($user) {
$tplVars['start'] = $start;
$tplVars['bookmarkCount'] = $start + 1;
- $bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, $userid, NULL, NULL, getSortOrder(), true);
+ $bookmarks = $bookmarkservice->getBookmarks($start, $perpage, $userid, NULL, NULL, getSortOrder(), true);
$tplVars['sidebar_blocks'] = array('watchlist');
$tplVars['watched'] = true;
$tplVars['total'] = $bookmarks['total'];
- $tplVars['bookmarks'] =& $bookmarks['bookmarks'];
+ $tplVars['bookmarks'] = $bookmarks['bookmarks'];
$tplVars['cat_url'] = createURL('tags', '%2$s');
$tplVars['nav_url'] = createURL('watchlist', '%s/%s%s');