mageplus/mageplus — pull request #131 by sprankhub (2012-10-23 22:03:39+00:00)
Title: Bugfix: do not set object as category ID

If a product list block is currently used on a product page, there will be an error because the category ID is set to an object. As soon as the category is loaded in line 80, there will be an error like
Warning: PDO::quote() expects parameter 1 to be string, object given in /var/www/site/lib/Zend/Db/Adapter/Pdo/Abstract.php on line 296
The method setCategoryId() has to be called with the ID of the category, not the category object itself.