Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / admin / what-config_register.php
index f1d578d871c54fae402b041a4afa3b64961a3f12..f7c4016c45b096b477abc9be445544308af324d7 100644 (file)
@@ -46,7 +46,7 @@ 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__);