Bug in /libraries/joomla/database/database/mysql.php

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Oct 01, 2008 6:21 pm

Bug in /libraries/joomla/database/database/mysql.php

Post by pkwin » Fri Sep 09, 2011 12:25 am

As a result of an application error in a bespoke component, I was trying to insert a new record into a table where a record with the same id already existed. As a result, I got:
PHP Notice: Undefined variable: values on line 540.
When I looked at the function, I found that the two arrays $fields and $values are populated within the function but only fields is initialised. I inserted $values=array(); at line 529 and the issue was resolved.

using v1.5.23

Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Tue Aug 25, 2009 10:37 am
Location: Joburg,RSA

Re: Bug in /libraries/joomla/database/database/mysql.php

Post by samaras » Fri Sep 16, 2011 8:59 am

Just encounted the same error. Thanks.


Return to “Joomla! 1.5 Bug Reporting”