fix string_format
fix string_format

expected  'Customer','Prospect'
but returns 'Customer\\',\\'Prospect'
because $ db->quote is applied twice if strpos($args[$i], ',') !== false, leading to a wrong result

Also, $enable = false leads to an error as $db is not defined in that case
MikeyJC/SuiteCRM,pribeiro42/SuiteCRM,JanSiero/SuiteCRM,lionixevolve/SuiteCRM,horus68/SuiteCRM-Horus68,lionixevolve/LionixCRM,MikeyJC/SuiteCRM,JimMackin/SuiteCRM,gody01/SuiteCRM,horus68/SuiteCRM-Horus68,samus-aran/SuiteCRM,JimMackin/SuiteCRM,gody01/SuiteCRM,pribeiro42/SuiteCRM,horus68/SuiteCRM-Horus68,Dillon-Brown/SuiteCRM,gody01/SuiteCRM,JimMackin/SuiteCRM,JanSiero/SuiteCRM,samus-aran/SuiteCRM,lionixevolve/SuiteCRM,salesagility/SuiteCRM,lionixevolve/LionixCRM,pribeiro42/SuiteCRM,Dillon-Brown/SuiteCRM,salesagility/SuiteCRM,lionixevolve/LionixCRM,gody01/SuiteCRM,samus-aran/SuiteCRM,Dillon-Brown/SuiteCRM,lionixevolve/LionixCRM,JanSiero/SuiteCRM,pribeiro42/SuiteCRM,MikeyJC/SuiteCRM,salesagility/SuiteCRM,horus68/SuiteCRM-Horus68,samus-aran/SuiteCRM,JimMackin/SuiteCRM,Dillon-Brown/SuiteCRM,lionixevolve/SuiteCRM,MikeyJC/SuiteCRM,JanSiero/SuiteCRM,lionixevolve/LionixCRM,salesagility/SuiteCRM,lionixevolve/SuiteCRM,lionixevolve/LionixCRM