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 +}