From a0c56c6a086576242e07cfe86838a4406725c40b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 24 Nov 2012 23:52:34 +0000 Subject: [PATCH] More renaming of name='ok' to something else (better to separate them out) --- inc/modules/admin.php | 2 +- templates/de/html/admin/admin_config_ | 2 +- templates/de/html/admin/admin_reg_form.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/modules/admin.php b/inc/modules/admin.php index a9f9405431..69dc30b7c0 100644 --- a/inc/modules/admin.php +++ b/inc/modules/admin.php @@ -128,7 +128,7 @@ if (!isAdminRegistered()) { $content['error_message'] = ''; // Yet-another notice-fix - if ((isFormSent()) && (postRequestElement('ok') == '***')) { + if ((isFormSent('add_first_admin')) && (postRequestElement('ok') == '***')) { // Init variables $loginMessage = ''; $pass1Message = ''; diff --git a/templates/de/html/admin/admin_config_ b/templates/de/html/admin/admin_config_ index c876f1cd11..7302978376 100644 --- a/templates/de/html/admin/admin_config_ +++ b/templates/de/html/admin/admin_config_ @@ -18,7 +18,7 @@ {%form_close%} diff --git a/templates/de/html/admin/admin_reg_form.tpl b/templates/de/html/admin/admin_reg_form.tpl index b961107b05..0a2352dec7 100644 --- a/templates/de/html/admin/admin_reg_form.tpl +++ b/templates/de/html/admin/admin_reg_form.tpl @@ -31,7 +31,7 @@ - + -- 2.39.5