cvs: qaweb / tested-methods.php
| From: | Hannes Magnusson | Date: | Fri, 08 May 2009 10:10:56 +0000 |
| Subject: | cvs: qaweb / tested-methods.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-64902@lists.php.net to get a copy of this message | ||
bjori Fri May 8 10:10:56 2009 UTC
Modified files:
/qaweb tested-methods.php
Log:
Avoid endless loop
http://cvs.php.net/viewvc.cgi/qaweb/tested-methods.php?r1=1.2&r2=1.3&diff_format=u
Index: qaweb/tested-methods.php
diff -u qaweb/tested-methods.php:1.2 qaweb/tested-methods.php:1.3
--- qaweb/tested-methods.php:1.2 Thu May 15 13:55:54 2008
+++ qaweb/tested-methods.php Fri May 8 10:10:55 2009
@@ -55,6 +55,12 @@
$fd = fopen("coverage_data/tested_methods.csv", "r");
+if (!$fd) {
+ echo "Can't find any data..";
+ echo '</td></tr></table>';
+ common_footer();
+ return;
+}
// print table header
echo "<table border=\"0\">\n";