cvs: phpweb / index.php
| From: | Hannes Magnusson | Date: | Tue, 30 Jun 2009 12:52:13 +0000 |
| Subject: | cvs: phpweb / index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-5187@lists.php.net to get a copy of this message | ||
bjori Tue Jun 30 12:52:13 2009 UTC
Modified files:
/phpweb index.php
Log:
Fixed bug#48738 (Notice issued about $RCS on docs.php.net/index.php)
http://cvs.php.net/viewvc.cgi/phpweb/index.php?r1=1.912&r2=1.913&diff_format=u
Index: phpweb/index.php
diff -u phpweb/index.php:1.912 phpweb/index.php:1.913
--- phpweb/index.php:1.912 Tue Jun 30 10:54:45 2009
+++ phpweb/index.php Tue Jun 30 12:52:13 2009
@@ -163,7 +163,7 @@
}
/* Do we have any release candidates to brag about? */
-if (count($RCS) > 0) {
+if (isset($RCS) && count($RCS) > 0) {
foreach ($RCS as $r => $d) {
$rc .= ' <li class="php5"><a href="http://qa.php.net/"><span
class="release">' . "$r ($d)</span></a></li>\n";
}