"fix: suppresed php5.2's stupid emty haystack warning"

This commit is contained in:
Ralf Becker 2007-04-29 14:18:08 +00:00
parent 4f353bf0d7
commit d1d4e02aad

View File

@ -496,7 +496,7 @@
{ {
$cols[$widget['name']] = $label; $cols[$widget['name']] = $label;
} }
elseif (strstr($cols[$col],$label) === false) elseif (strpos($cols[$col],$label) === false)
{ {
$cols[$col] .= ($cols[$col] ? ', ' : '').$label; $cols[$col] .= ($cols[$col] ? ', ' : '').$label;
$cols['name2col'][$col] = $col; $cols['name2col'][$col] = $col;