Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
[banana.git] / 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;
         }