cvs: pearweb /public_html/bugs/include functions.inc
| From: | David Coallier | Date: | Tue, 24 Apr 2007 21:36:07 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-46140@lists.php.net to get a copy of this message | ||
davidc Tue Apr 24 21:36:07 2007 UTC
Modified files:
/pearweb/public_html/bugs/include functions.inc
Log:
- Fix bug reported by bjori about php versions
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/include/functions.inc?r1=1.145&r2=1.146&diff_format=u
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.145
pearweb/public_html/bugs/include/functions.inc:1.146
--- pearweb/public_html/bugs/include/functions.inc:1.145 Tue Apr 24 03:11:55 2007
+++ pearweb/public_html/bugs/include/functions.inc Tue Apr 24 21:36:07 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: functions.inc,v 1.145 2007/04/24 03:11:55 cellog Exp $
+ * @version $Id: functions.inc,v 1.146 2007/04/24 21:36:07 davidc Exp $
*/
@@ -530,13 +530,13 @@
if ($current == $v) {
echo ' selected="selected"';
}
- echo '>' . $v . "</option>\n";
+ echo '>' . htmlspecialchars$v) . "</option>\n";
if ($current == $v) {
$use++;
}
}
if (!$use && $current) {
- echo '<option selected="selected">' . $current .
"</option>\n";
+ echo '<option selected="selected">' . htmlspecialchars($current)
. "</option>\n";
}
echo '<option value="earlier">Earlier? Upgrade first!</option>'
. "\n";
}