diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2013-03-20 20:00:25 +0100 | 
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2013-03-20 20:00:25 +0100 | 
| commit | 85e2ccd942fc67944c9324e71097f426abf75a01 (patch) | |
| tree | e7a8f71c4937fccb7686b8ae9d5e5664cfd84d40 /www/history.php | |
| parent | fc4c79df8a6fb6c82a3552260d43271fede24ed2 (diff) | |
| download | semanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.gz semanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.bz2  | |
remove php4-style object reference passing #2
Diffstat (limited to 'www/history.php')
| -rw-r--r-- | www/history.php | 6 | 
1 files changed, 3 insertions, 3 deletions
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');  | 
