mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 07:49:28 +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))
|
while (list($k,$text) = each($arr))
|
||||||
{
|
{
|
||||||
$out .= '<option value="'.$k.'"';
|
$out .= '<option value="'.$k.'"';
|
||||||
if($k == $key || strstr(",$key,",",$k,"))
|
if("$k" == "$key" || strstr(",$key,",",$k,"))
|
||||||
{
|
{
|
||||||
$out .= " SELECTED";
|
$out .= " SELECTED";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user