From 1efecc2633c451e8998f9758d169df784ed5338c Mon Sep 17 00:00:00 2001 From: JKA Network Date: Thu, 11 Jan 2018 10:03:04 +0100 Subject: [PATCH] Bugfix for 0.9.2 --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 41074d3..e5f8029 100755 --- a/functions.php +++ b/functions.php @@ -154,7 +154,7 @@ function textTypeChk($typeChk){ } //This function is an alias to Twig render, with "standard args" added -function renderPage($page,$array){ +function renderPage($page,$array = array()){ $T_ = loadLang(); //Load transactions //Default params to send $allarray = array( @@ -174,4 +174,4 @@ function loadLang(){ require __DIR__."/assets/translations/en.php"; //Ever first English, and then your lang (Database) require __DIR__."/assets/translations/".LANG.".php"; return $T_; -} \ No newline at end of file +}