PrestaShop/PrestaShop-1.4 — pull request #2 by gandalf76fr (2012-11-30 22:16:25+00:00)
Title: small bug in /classes/Referrer.php 1.4.9.0 stable

in the line 283 replace
return Db::getInstance()->Execute('DELETE FROM `referrer_cache` WHERE id_referrer = '.(int)$this->id) && parent::delete();
by
return Db::getInstance()->Execute('DELETE FROM '._DB_PREFIX_.'referrer_cache WHERE id_referrer = '.(int)$this->id) && parent::delete();