]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_register.php
Some fixes for surfbar extension (#123), double->single, misc cleanups/fixes
[mailer.git] / inc / modules / admin / what-config_register.php
index 1c92b3ba2a0820bc228c801840ea7926d347cf1a..f7c4016c45b096b477abc9be445544308af324d7 100644 (file)
@@ -46,10 +46,10 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 ADD_DESCR('admin', __FILE__);
 
 // Do we want to save changes?
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
        foreach (REQUEST_POST('sel') as $id => $value) {
                SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_must_register` SET field_required='%s' WHERE `id`=%s AND field_required != '%s' LIMIT 1",
-                       array($value, bigintval($id), $value),__FILE__, __LINE__);
+               array($value, bigintval($id), $value),__FILE__, __LINE__);
        }
        LOAD_TEMPLATE('admin_settings_saved', false, getMessage('REGISTER_ADMIN_CHANGES_SAVED'));
 }