Compatibility PHP8.3 and Typo

This commit is contained in:
sparkyx 2025-10-29 09:53:33 +01:00
parent a1c59f6cf0
commit 63bee473de
3 changed files with 3 additions and 3 deletions

View file

@ -496,7 +496,7 @@ $majeur=explode(".",$version);
if ( $majeur[0] < 12 ) if ( $majeur[0] < 12 )
{ {
?> ?>
<p><?php echo $failed . _(" Vous devez utiliser au minimum une version 12 de PostGresql, si votre distribution n'en <p><?php echo $failed . _(" Vous devez utiliser au minimum une version 12 de PostgreSQL, si votre distribution n'en
offre pas, installez-en une en la compilant. Lisez attentivement la notice sur postgresql.org pour migrer offre pas, installez-en une en la compilant. Lisez attentivement la notice sur postgresql.org pour migrer
vos bases de données")?> vos bases de données")?>
</p> </p>

View file

@ -92,7 +92,7 @@ class XMLInvoice_Reader
return new XMLInvoice_Reader($dm); return new XMLInvoice_Reader($dm);
} else } else
{ {
throw new \Exception("XR55: not a valid XML"); throw new \Exception("XR55: not a valid XML",55);
} }
} }

View file

@ -1123,7 +1123,7 @@ class Acc_Detail extends Acc_Operation
$this->det->note=""; $this->det->note="";
$this->det->note_html=null; $this->det->note_html=null;
} else { } else {
$this->det->note=strip_tags($a['n_text']); $this->det->note=strip_tags($a['n_text']??"");
$this->det->note_html=($a['n_html'] == "")?$a['n_text']:$a['n_html']; $this->det->note_html=($a['n_html'] == "")?$a['n_text']:$a['n_html'];
} }
} }