Merge pull request #32404 from frederic34/patch-11

fix CI branch 20.0
This commit is contained in:
Laurent Destailleur 2024-12-18 12:10:50 +01:00 committed by GitHub
commit 7ebec965aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ class BookKeeping extends CommonObject
public $doc_date;
/**
* @var int Deadline for payment
* @var int|null|'' Deadline for payment
*/
public $date_lim_reglement;
@ -99,12 +99,12 @@ class BookKeeping extends CommonObject
public $thirdparty_code;
/**
* @var string subledger account
* @var string|null subledger account
*/
public $subledger_account;
/**
* @var string subledger label
* @var string|null subledger label
*/
public $subledger_label;
@ -2877,7 +2877,7 @@ class BookKeeping extends CommonObject
$result = $this->db->query($sql);
if (!$result) {
$this->errors[] = 'Error: ' . $this->db->lasterror();
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
dol_syslog(__METHOD__ . ' ' . implode(',', $this->errors), LOG_ERR);
$error++;
}
$objtmp = $this->db->fetch_object($result);
@ -2941,7 +2941,7 @@ class BookKeeping extends CommonObject
$result = $this->db->query($sql);
if (!$result) {
$this->errors[] = 'Error: ' . $this->db->lasterror();
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
dol_syslog(__METHOD__ . ' ' . implode(',', $this->errors), LOG_ERR);
$error++;
}
$objtmp = $this->db->fetch_object($result);