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

This commit is contained in:
lLefevre
2012-03-29 08:31:28 +00:00
parent 1b4093ba12
commit ba4e1a2baf
6 changed files with 12 additions and 24 deletions
+3 -3
View File
@@ -122,11 +122,11 @@ class CustomerThreadCore extends ObjectModel
FROM '._DB_PREFIX_.'customer_thread
');
else
return (int)Db::getInstance()->getValue(sprintf('
return (int)Db::getInstance()->getValue('
SELECT COUNT(*)
FROM '._DB_PREFIX_.'customer_thread
WHERE %s
', $where));
WHERE '.$where
);
}
public static function getMessageCustomerThreads($id_customer_thread)