relates #2345 remove array fix warning with error tpl

error introduced with new Standard pages, Errors messages in themes couldn't display du to extra array added
This commit is contained in:
HWFord
2025-04-10 10:12:59 +02:00
parent ee0d29a0e9
commit 122cbf7567
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ if (isset($_POST['submit']))
if (!verify_ephemeral_key(@$_POST['key']))
{
set_status_header(403);
$page['errors']['register_page_error'][] = l10n('Invalid/expired form key');
$page['errors']['register_page_error'] = l10n('Invalid/expired form key');
}
if(empty($_POST['password']))