// Add description as navigation point
addYouAreHereLink('admin', __FILE__);
-// Do we want to save changes?
+// Save changes?
if (isFormSent('save_config')) {
// Begin counting
$count = 0;
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__);
+ array(
+ $value,
+ bigintval($id),
+ $value
+ ),__FILE__, __LINE__);
// Get affected rows
$count += SQL_AFFECTEDROWS();