Skip to content

Commit

Permalink
Merge pull request #32404 from frederic34/patch-11
Browse files Browse the repository at this point in the history
fix CI branch 20.0
  • Loading branch information
eldy authored Dec 18, 2024
2 parents 7959f4b + 4f780da commit 7ebec96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions htdocs/accountancy/class/bookkeeping.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -2877,7 +2877,7 @@ public function closeFiscalPeriod($fiscal_period_id, $new_fiscal_period_id, $sep
$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);
Expand Down Expand Up @@ -2941,7 +2941,7 @@ public function closeFiscalPeriod($fiscal_period_id, $new_fiscal_period_id, $sep
$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);
Expand Down

0 comments on commit 7ebec96

Please sign in to comment.