From f497b50d2f1d85908f0b5be015d92ef013e0536f Mon Sep 17 00:00:00 2001 From: mbressy Date: Mon, 8 Jun 2026 10:19:04 +0000 Subject: [PATCH] cast argument --- inc/container.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/container.class.php b/inc/container.class.php index c3956d33..f9cd4770 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -1145,7 +1145,7 @@ public static function showFormSubtype($params, $display = false) // For delete number : foreach ($tabs as &$value) { $results = []; - if (preg_match_all('#(.+)#', $value, $results)) { + if (preg_match_all('#(.+)#', (string) $value, $results)) { $value = str_replace($results[0][0], '', $value); } }