From 81482e7f87f2042cf1f745d633985867d46b5472 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 1 Oct 2011 17:02:32 +0200 Subject: [PATCH] Gives a default empty mode for BananaPage. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- 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 1d62313..f242d91 100644 --- a/banana/page.inc.php +++ b/banana/page.inc.php @@ -25,7 +25,7 @@ class BananaPage extends Smarty public $css = ''; - public function __construct($mode) + public function __construct($mode = null) { parent::Smarty(); -- 2.1.4