Update extrafields.class.php

This commit is contained in:
Laurent Destailleur 2022-02-10 10:11:46 +01:00 committed by GitHub
parent 316cb9e4e3
commit e210952f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -703,10 +703,10 @@ class ExtraFields
}
dol_syslog(get_class($this).'::update', LOG_DEBUG);
$resql = $this->db->query($sql, 1, 'dml');
if ($resql < 0) {
/*if ($resql < 0) {
$this->error = $this->db->lasterror();
return -1;
}
}*/
return 1;
} else {
$this->error = $this->db->lasterror();