2
0
forked from Wavyzz/dolibarr

Removed SQL string from call debug log

This commit is contained in:
Marcos García de La Fuente
2014-06-13 01:34:39 +02:00
parent 7e7958cf73
commit ca0a6cb307
45 changed files with 90 additions and 101 deletions

View File

@@ -4197,7 +4197,7 @@ function dol_getIdFromCode($db,$key,$tablename,$fieldkey='code',$fieldid='id')
$sql = "SELECT ".$fieldid." as id";
$sql.= " FROM ".MAIN_DB_PREFIX.$tablename;
$sql.= " WHERE ".$fieldkey." = '".$key."'";
dol_syslog('dol_getIdFromCode sql='.$sql, LOG_DEBUG);
dol_syslog('dol_getIdFromCode', LOG_DEBUG);
$resql = $db->query($sql);
if ($resql)
{