File: 1028_include-class_listing.inc-Avoid-implicit-array-to-st.patch

package info (click to toggle)
gosa 2.8~git20230203.10abe45%2Bdfsg-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 33,108 kB
  • sloc: php: 32,102; javascript: 10,836; pascal: 3,776; xml: 3,135; sh: 852; python: 162; makefile: 45; perl: 2
file content (26 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 0912797adb120eb4c898df755d4458e8a5dd9c15 Mon Sep 17 00:00:00 2001
From: root <root@postoffice.intern>
Date: Thu, 17 Aug 2023 21:41:52 +0200
Subject: [PATCH 03/13] include/class_listing.inc: Avoid implicit
 array-to-string conversion.

---
 include/class_listing.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class_listing.inc b/include/class_listing.inc
index 543e363..a713911 100644
--- a/include/class_listing.inc
+++ b/include/class_listing.inc
@@ -1156,7 +1156,7 @@ class listing
             }
 
             if ($_param_count > count($params)) {
-                error_log("ERROR: Number of expected parameters is greater than collected parameters! For match='$match'.");
+                error_log("ERROR: Number of expected parameters is greater than collected parameters! For match='[".implode(', ', $match)."]");
                 continue;
             }
 
-- 
2.39.2