[dev] CVS_HEAD genie: attempting to delete "wishlist" produces
fatal error
Joe Jenkins
joe at nerdnet.com
Mon Jan 5 09:42:46 PST 2004
When attempting to delete a wishlist (empty or otherwise) from the "Manage
Wishlists" option, the following error is generated:
Fatal error: Call to a member function on a non-object in
/horde/genie/lib/Driver/sql.php on line 248
The code at this location:
function deleteAll()
{
$query = sprintf('DELETE FROM %s WHERE wish_owner = %s',
$this->_params['table'],
$this->_db->quote($this->_wishlist));
/* Log the query at a DEBUG log level. */
Horde::logMessage(sprintf('Genie_Driver_sql::deleteAll(): %s',
$query),
__FILE__, __LINE__, PEAR_LOG_DEBUG);
/* Attempt the delete query. */
$result = $this->_db->query($query);
return is_a($result, 'PEAR_Error') ? $result : true;
}
I am running CVS_HEAD (all current as of Jan 5 2004)
Thanks!
Joe Jenkins
More information about the dev
mailing list