[-] BO : remove sprintf() which are unnecessary

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14355 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-03-29 08:31:28 +00:00
parent cdeb31c8d5
commit d9ff501e9c
6 changed files with 12 additions and 24 deletions
+3 -3
View File
@@ -86,11 +86,11 @@ class CustomerMessageCore extends ObjectModel
FROM '._DB_PREFIX_.'customer_message
');
else
return (int)Db::getInstance()->getValue(sprintf('
return (int)Db::getInstance()->getValue('
SELECT COUNT(*)
FROM '._DB_PREFIX_.'customer_message
WHERE %s
', $where));
WHERE '.$where
);
}
}