Gives a default empty mode for BananaPage.
authorStéphane Jacob <sj@m4x.org>
Sat, 1 Oct 2011 15:02:32 +0000 (17:02 +0200)
committerStéphane Jacob <sj@m4x.org>
Sat, 1 Oct 2011 15:17:17 +0000 (17:17 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
banana/page.inc.php

index 1d62313..f242d91 100644 (file)
@@ -25,7 +25,7 @@ class BananaPage extends Smarty
 
     public $css = '';
 
-    public function __construct($mode)
+    public function __construct($mode = null)
     {
         parent::Smarty();