From d1d4e02aade8e10e3333eeac85745b065704679e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 29 Apr 2007 14:18:08 +0000 Subject: [PATCH] "fix: suppresed php5.2's stupid emty haystack warning" --- etemplate/inc/class.nextmatch_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index 150adcb239..ed920f2591 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -496,7 +496,7 @@ { $cols[$widget['name']] = $label; } - elseif (strstr($cols[$col],$label) === false) + elseif (strpos($cols[$col],$label) === false) { $cols[$col] .= ($cols[$col] ? ', ' : '').$label; $cols['name2col'][$col] = $col;