From 85e2ccd942fc67944c9324e71097f426abf75a01 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 20 Mar 2013 20:00:25 +0100 Subject: remove php4-style object reference passing #2 --- www/history.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/history.php') diff --git a/www/history.php b/www/history.php index 489d932..50cf3eb 100644 --- a/www/history.php +++ b/www/history.php @@ -55,9 +55,9 @@ if (intval(GET_PAGE) > 1) { $start = 0; } -if ($bookmark =& $bookmarkservice->getBookmarkByHash($hash)) { +if ($bookmark = $bookmarkservice->getBookmarkByHash($hash)) { // Template variables - $bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, NULL, NULL, $hash); + $bookmarks = $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, NULL, NULL, $hash); $tplVars['pagetitle'] = T_('History') .': '. $bookmark['bAddress']; $tplVars['subtitle'] = sprintf(T_('History for %s'), $bookmark['bAddress']); $tplVars['loadjs'] = true; @@ -65,7 +65,7 @@ if ($bookmark =& $bookmarkservice->getBookmarkByHash($hash)) { $tplVars['start'] = $start; $tplVars['bookmarkCount'] = $start + 1; $tplVars['total'] = $bookmarks['total']; - $tplVars['bookmarks'] =& $bookmarks['bookmarks']; + $tplVars['bookmarks'] = $bookmarks['bookmarks']; $tplVars['hash'] = $hash; $tplVars['popCount'] = 50; $tplVars['sidebar_blocks'] = array('common'); -- cgit v1.2.3-54-g00ecf