Skip to content

Commit

Permalink
fix mispelling
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Aug 15, 2013
1 parent 472d218 commit 4932c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/webservices/server_thirdparty.php
Expand Up @@ -648,7 +648,7 @@ function getListOfThirdParties($authentication,$filterthirdparty)
foreach($filterthirdparty as $key => $val)
{
if ($key == 'client' && $val != '') $sql.=" AND s.client = ".$db->escape($val);
if ($key == 'supplier' && $val != '') $sql.=" AND s.ournisseur = ".$db->escape($val);
if ($key == 'supplier' && $val != '') $sql.=" AND s.fournisseur = ".$db->escape($val);
if ($key == 'category' && $val != '') $sql.=" AND s.rowid IN (SELECT fk_societe FROM ".MAIN_DB_PREFIX."categorie_societe WHERE fk_categorie=".$db->escape($val).") ";
}
dol_syslog("Function: getListOfThirdParties sql=".$sql);
Expand Down

0 comments on commit 4932c11

Please sign in to comment.