]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_register.php
Bug 'return is not bool' fixed
[mailer.git] / inc / modules / admin / what-config_register.php
index c4bf6bc8379ae5d6bcb1a137fe4dcfa06242b2a8..2249983a5666e1ded68cf93e08f46d911422288b 100644 (file)
@@ -46,7 +46,7 @@ addMenuDescription('admin', __FILE__);
 
 // Do we want to save changes?
 if (isFormSent()) {
-       foreach (postRequestElement('sel') as $id => $value) {
+       foreach (postRequestParameter('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__);
        }