cvs: php-bugs-web /include functions.inc
| From: | Andrew Lindeman | Date: | Thu, 31 Jul 2003 20:20:07 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19687@lists.php.net to get a copy of this message | ||
alindeman Thu Jul 31 16:20:07 2003 EDT
Modified files:
/php-bugs-web/include functions.inc
Log:
fix 24893 (this may not be the totally best way to fix it, but it seems
to be the least intrusive, and seems to work just fine)
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.87 php-bugs-web/include/functions.inc:1.88
--- php-bugs-web/include/functions.inc:1.87 Wed Jul 30 19:04:56 2003
+++ php-bugs-web/include/functions.inc Thu Jul 31 16:20:06 2003
@@ -183,7 +183,7 @@
if ($key == $current) $use++;
}
}
- if (!$use && $current) {
+ if (!$use && $current && !is_array ($current)) {
echo "<option selected>$current</option>\n";
}
}