Diff for phpMyEdit/phpMyEdit.class.php between version 1.197 and 1.198
| version 1.197, 2007/07/03 20:01:40 |
version 1.198, 2007/07/04 21:37:51 |
| Line 1542 function '.$this->js['prefix'].'filter_h |
|
| Line 1542 function '.$this->js['prefix'].'filter_h |
|
| $found = false; |
$found = false; |
| foreach ($kv_array as $key => $value) { |
foreach ($kv_array as $key => $value) { |
| $ret .= '<option value="'.htmlspecialchars($key).'"'; |
$ret .= '<option value="'.htmlspecialchars($key).'"'; |
| if ((! $found || $multiple) && in_array((string) $key, $selected, 1) |
if ((! $found || $multiple) && in_array(/* (string) see #446 */ $key, $selected, 1) |
| || (count($selected) == 0 && ! $found && ! $multiple)) { |
|| (count($selected) == 0 && ! $found && ! $multiple)) { |
| $ret .= ' selected="selected"'; |
$ret .= ' selected="selected"'; |
| $found = true; |
$found = true; |
Platon Group <platon@platon.org> http://platon.org/
|
|