Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 29 Dec 2013 10:41:18 +0000 (11:41 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 29 Dec 2013 10:41:18 +0000 (11:41 +0100)
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
banana/page.inc.php

index f242d91..a3e1f5d 100644 (file)
@@ -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;
         }