diff --git a/www/index.php b/www/index.php index 3ad2db40981b6c6cf9705e577aff7f8c351e5f6b..33a865dbb21e2f4707c6d900bfc535731ed5a1c9 100644 --- a/www/index.php +++ b/www/index.php @@ -45,10 +45,10 @@ $f3->set('ONERROR', function ($f3) { // If neither error or message are set, define them if (!$f3->exists('SESSION.message')) { - $f3->push('SESSION.message', ''); + $f3->push('SESSION.message', []); } if (!$f3->exists('SESSION.error')) { - $f3->push('SESSION.error', ''); + $f3->push('SESSION.error', []); } $f3->get('container')['session']->set('csrf', $csrf);