Gives a default empty mode for BananaPage.
[banana.git] / 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();