Find this around line 2060. Its actually on several lines.
PHP Code:
"UPDATE ".TABLE_PRODUCTS_DESCRIPTION." SET products_name='" . zen_db_input($name) . "', products_description='" . zen_db_input $v_products_description[$key]) . "',";
I don't know the exact syntax, but add a wrapper something like this:
PHP Code:
if ($v_products_description[$key] > '') {
(existing code)
}
I'm not sure of the exact way to code this in php, but this is what you need.
Disclaimer: always backup before testing. I believe this is the correct section but cannot be sure without actually trying it. I've done several things like this, so it's an educated guess we're in the right place.
Jeff
Bookmarks