beddo Posted October 9, 2006 Posted October 9, 2006 admin/modules.php line 46 while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } The while loop just doesn't work on my install of osCommerce. Changed it to something much more normal and it works fine: foreach ($HTTP_POST_VARS['configuration'] as $key => $value) { tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } Seems a bit odd as I know it worked at some point..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.