mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
fix to let html::select difference between '' and 0
This commit is contained in:
parent
2fca3a3cb6
commit
565199d6e1
@ -64,7 +64,7 @@ class html
|
||||
while (list($k,$text) = each($arr))
|
||||
{
|
||||
$out .= '<option value="'.$k.'"';
|
||||
if($k == $key || strstr(",$key,",",$k,"))
|
||||
if("$k" == "$key" || strstr(",$key,",",$k,"))
|
||||
{
|
||||
$out .= " SELECTED";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user