cvs: php-bugs-web / report.php
| From: | Philip Olson | Date: | Thu, 24 Jul 2003 02:20:26 +0000 |
| Subject: | cvs: php-bugs-web / report.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19518@lists.php.net to get a copy of this message | ||
philip Wed Jul 23 22:20:26 2003 EDT
Modified files:
/php-bugs-web report.php
Log:
Allow expected and actual results to be === '0'
Index: php-bugs-web/report.php
diff -u php-bugs-web/report.php:1.40 php-bugs-web/report.php:1.41
--- php-bugs-web/report.php:1.40 Wed Jul 2 04:58:09 2003
+++ php-bugs-web/report.php Wed Jul 23 22:20:26 2003
@@ -117,10 +117,10 @@
if (!empty($in['repcode'])) {
$fdesc .= "Reproduce code:\n---------------\n". $in['repcode']
."\n\n";
}
- if (!empty($in['expres'])) {
+ if (!empty($in['expres']) || $in['expres'] === '0') {
$fdesc .= "Expected result:\n----------------\n". $in['expres']
."\n\n";
}
- if (!empty($in['actres'])) {
+ if (!empty($in['actres']) || $in['actres'] === '0') {
$fdesc .= "Actual result:\n--------------\n". $in['actres']
."\n";
}