Fix duplicate log

This commit is contained in:
Laurent Destailleur 2015-05-07 10:52:41 +02:00
parent cc5968fbd5
commit f197a94f59

View File

@ -1423,7 +1423,6 @@ class Product extends CommonObject
else if ($ref_ext) $sql.= " AND ref_ext = '".$this->db->escape($ref_ext)."'";
}
dol_syslog(get_class($this)."::fetch", LOG_DEBUG);
$resql = $this->db->query($sql);
if ( $resql )
{
@ -3170,7 +3169,7 @@ class Product extends CommonObject
function is_photo_available($sdir)
{
include_once DOL_DOCUMENT_ROOT .'/core/lib/files.lib.php';
global $conf;
$dir = $sdir;