noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 26/34: Task #0002219: Compatibilit PHP 8.2


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 26/34: Task #0002219: Compatibilit PHP 8.2
Date: Sun, 5 Feb 2023 04:41:42 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit 58959469976e72f9f8129c731ce1a0740a02a491
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Jan 30 19:19:55 2023 +0100

    Task #0002219: Compatibilit PHP 8.2
---
 include/lib/manage_table_sql.class.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/lib/manage_table_sql.class.php 
b/include/lib/manage_table_sql.class.php
index 45cffff6f..8e405ef64 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -1170,7 +1170,7 @@ function check()
                     {
                         $text=new IText($key);
                         $text->value=$value;
-                        $min_size=(strlen($value)<30)?30:strlen($value)+5;
+                        
$min_size=(noalyss_strlen($value)<30)?30:strlen($value)+5;
                         $text->size=$min_size;
                         echo $text->input();
                     }
@@ -1178,7 +1178,7 @@ function check()
                     {
                         $text=new INum($key);
                         $text->value=$value;
-                        $min_size=(strlen($value)<10)?10:strlen($value)+1;
+                        
$min_size=(noalyss_strlen($value)<10)?10:strlen($value)+1;
                         $text->size=$min_size;
                         echo $text->input();
                     }
@@ -1187,7 +1187,7 @@ function check()
                         $text=new INum($key);
                         $text->prec=4;
                         $text->value=$value;
-                        $min_size=(strlen($value)<10)?10:strlen($value)+1;
+                        
$min_size=(noalyss_strlen($value)<10)?10:strlen($value)+1;
                         $text->size=$min_size;
                         echo $text->input();
                     }
@@ -1196,7 +1196,7 @@ function check()
                         $text=new INum($key);
                         $text->prec=6;
                         $text->value=$value;
-                        $min_size=(strlen($value)<10)?10:strlen($value)+1;
+                        
$min_size=(noalyss_strlen($value)<10)?10:strlen($value)+1;
                         $text->size=$min_size;
                         echo $text->input();
                     }



reply via email to

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