Commit 49b64116 authored by okhin's avatar okhin 🚴

Initializing message with a list instead of an empty string

parent f9fb9e05
Pipeline #2579 passed with stages
in 1 minute and 30 seconds
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment