[-] BO : remove sprintf() which are unnecessary
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user