From: quix0r Date: Sat, 24 Nov 2012 23:52:34 +0000 (+0000) Subject: More renaming of name='ok' to something else (better to separate them out) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=87da696840fa805a47490abdd1b387716cca85f3;p=mailer.git More renaming of name='ok' to something else (better to separate them out) --- 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 @@ - +