From: Nicolas Iooss Date: Sun, 29 Dec 2013 10:41:18 +0000 (+0100) Subject: Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4 X-Git-Url: http://git.polytechnique.org/?p=banana.git;a=commitdiff_plain;h=9a99d3160d51c7c9bbf0fb5bc1ad76546e86d39c Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4 Signed-off-by: Nicolas Iooss --- diff --git a/banana/page.inc.php b/banana/page.inc.php index f242d91..a3e1f5d 100644 --- a/banana/page.inc.php +++ b/banana/page.inc.php @@ -299,7 +299,7 @@ class BananaPage extends Smarty ${$key} = isset($params[$key]) ? $params[$key] : null; unset($params[$key]); } - $link = $this->makeUrl($params, &$smarty); + $link = $this->makeUrl($params, $smarty); if (is_null($text)) { $text = $link; }