diff --git a/html/install.php b/html/install.php index ff3f54ed3..b708fef98 100644 --- a/html/install.php +++ b/html/install.php @@ -496,7 +496,7 @@ $majeur=explode(".",$version); if ( $majeur[0] < 12 ) { ?> -

diff --git a/include/XMLDocument/xmlinvoice_reader.class.php b/include/XMLDocument/xmlinvoice_reader.class.php index 8df950906..7d723841e 100644 --- a/include/XMLDocument/xmlinvoice_reader.class.php +++ b/include/XMLDocument/xmlinvoice_reader.class.php @@ -92,7 +92,7 @@ class XMLInvoice_Reader return new XMLInvoice_Reader($dm); } else { - throw new \Exception("XR55: not a valid XML"); + throw new \Exception("XR55: not a valid XML",55); } } diff --git a/include/class/acc_operation.class.php b/include/class/acc_operation.class.php index 74420c309..3ac02140f 100644 --- a/include/class/acc_operation.class.php +++ b/include/class/acc_operation.class.php @@ -1123,7 +1123,7 @@ class Acc_Detail extends Acc_Operation $this->det->note=""; $this->det->note_html=null; } 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']; } }