noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 04/17: Compatibility 8.1


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/17: Compatibility 8.1
Date: Tue, 16 May 2023 14:50:11 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit c01929d48fdc4224f7a010911f85d713c6bed89f
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue Apr 18 17:19:55 2023 +0200

    Compatibility 8.1
---
 include/class/pdf_operation.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/pdf_operation.class.php 
b/include/class/pdf_operation.class.php
index 2b3e859b6..ac17fe082 100644
--- a/include/class/pdf_operation.class.php
+++ b/include/class/pdf_operation.class.php
@@ -320,8 +320,8 @@ class PDF_Operation extends PDF {
             $this->pdf->write_cell($width[1],6,$row['j_poste']);
             $this->pdf->write_cell($width[2],6,$row["j_qcode"]);
             $str=$row["j_text"];
-            if (trim($str)==""){
-                if (trim($row["j_qcode"])=="") {
+            if (empty($str)){
+                if (empty($row["j_qcode"])) {
                     $str=$this->cn->get_value("select pcm_lib from tmp_pcmn 
where pcm_val=$1",
                             array($row["j_poste"]));
                 } else {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]