Extension ext-earning introduced (unfinished), renamings:
[mailer.git] / inc / modules / admin / what-config_register.php
index dec1610b6d1daaec9813696350e45a593a768c91..9f412f053fe70de8c0f48db5579d34ccb337f10a 100644 (file)
@@ -49,7 +49,7 @@ if (isFormSent()) {
        $count = 0;
 
        // Update all entries
-       foreach (postRequestParameter('sel') as $id => $value) {
+       foreach (postRequestElement('sel') as $id => $value) {
                // Update database
                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__);