A lot of fix on point of sale module

This commit is contained in:
Laurent Destailleur
2009-10-22 00:27:13 +00:00
parent 8c2705707a
commit 3cb6df16fd
9 changed files with 143 additions and 190 deletions

View File

@@ -3124,8 +3124,7 @@ function dol_getIdFromCode($db,$key,$tablename,$fieldkey='code',$fieldid='id')
}
else
{
$this->error=$db->lasterror();
dol_syslog("dol_getIdFromCode error=".$this->error,LOG_ERR);
dol_syslog("dol_getIdFromCode error=".$db->lasterror(),LOG_ERR);
return -1;
}
}