Fix a bug that unable to delete all options.
the line
tep_db_query("delete from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id='" . (int)$products_id . "'");
must be before :
if (isset($HTTP_POST_VARS['option'])) {
around line 270.
More...
This is a discussion on Add Attributes to categories.php within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Fix a bug that unable to delete all options. the line tep_db_query("delete from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id='" ...
Fix a bug that unable to delete all options.
the line
tep_db_query("delete from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id='" . (int)$products_id . "'");
must be before :
if (isset($HTTP_POST_VARS['option'])) {
around line 270.
More...
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Bookmarks