Fix: forgot closing operator bracket in new code.
Should be
if ($option_value_image = new upload('value_image_input', DIR_FS_CATALOG_IMAGES.'options/')) {
if (tep_not_null($option_value_image->filename)){
tep_db_query("update " . TABLE_PRODUCTS_OPTIONS_VALUES . " set products_options_values_thumbnail = '" . tep_db_input($filename) . "' where products_options_values_id = '" . tep_db_input($cID) . "'");
}
}
FULL PACKAGE. Fixed options_images.php and update guide for v1.7
More...




LinkBack URL
About LinkBacks









Bookmarks