cvs: php-bugs-web / report.php
| From: | Gabor Hojtsy | Date: | Sun, 03 Feb 2002 13:30:36 +0000 |
| Subject: | cvs: php-bugs-web / report.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-8471@lists.php.net to get a copy of this message | ||
goba Sun Feb 3 08:30:36 2002 EDT
Modified files:
/php-bugs-web report.php
Log:
I was testing the wrong values all the time. So that's why it was not working...
Index: php-bugs-web/report.php
diff -u php-bugs-web/report.php:1.13 php-bugs-web/report.php:1.14
--- php-bugs-web/report.php:1.13 Sun Feb 3 08:27:25 2002
+++ php-bugs-web/report.php Sun Feb 3 08:30:36 2002
@@ -42,17 +42,18 @@
$email = stripslashes($in['email']);
- $dev_extra = "";
+ # provide shortcut URLS for "quick bug fixes"
+ $dev_extra = "";
$maxkeysize = 0;
- foreach (array_keys($RESOLVE_REASONS) as $k) {
+ foreach ($RESOLVE_REASONS as $v) {
if (!$v['webonly']) {
- $actkeysize = strlen($k);
+ $actkeysize = strlen($v['desc']);
$maxkeysize = (($maxkeysize < $actkeysize) ? $actkeysize : $maxkeysize);
}
}
- foreach ($RESOLVE_REASONS as $k => $v) {
+ foreach ($RESOLVE_REASONS as $v) {
if (!$v['webonly'])
- $dev_extra .= str_pad($v[desc], $maxkeysize) .
+ $dev_extra .= str_pad($v['desc'], $maxkeysize) .
": http://bugs.php.net/fix.php?id=$cid&r=$k\n";
}