You are here:  » Undefined variable

Support Forum



Undefined variable

Submitted by chrisst1 on Thu, 2008-11-13 12:26 in

Hi David

In our error logs we have lots and lots of errors saying
PHP Notice: Undefined variable: product
for this line 98 in products.php below.

$where .= "MATCH name AGAINST ('".database_safe($q)."') AND name <> '".database_safe($product["products"][0]["name"])."'";

How can we fix this as our error log files are huge.

Chris

Submitted by support on Thu, 2008-11-13 12:50

Hi Chris,

Could you email me your products.php and I'll fix this for you - it has been corrected in the latest version.

Cheers,
David.

Submitted by chrisst1 on Sat, 2008-11-15 09:28

David
Thanks that worked great.

Chris