From 9a99d3160d51c7c9bbf0fb5bc1ad76546e86d39c Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Sun, 29 Dec 2013 11:41:18 +0100 Subject: [PATCH] Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4 Signed-off-by: Nicolas Iooss --- banana/page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.1.4