svn: /web/doc/trunk/www/ revcheck.php
| From: | Kalle Sommer Nielsen | Date: | Wed, 08 Sep 2010 14:44:06 +0000 |
| Subject: | svn: /web/doc/trunk/www/ revcheck.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1875@lists.php.net to get a copy of this message | ||
kalle Wed, 08 Sep 2010 14:44:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303176
Log:
Fix E_NOTICE
Changed paths:
U web/doc/trunk/www/revcheck.php
Modified: web/doc/trunk/www/revcheck.php
===================================================================
--- web/doc/trunk/www/revcheck.php 2010-09-08 14:30:18 UTC (rev 303175)
+++ web/doc/trunk/www/revcheck.php 2010-09-08 14:44:06 UTC (rev 303176)
@@ -459,7 +459,11 @@
$status_mark = REV_NOREV;
} else if ($rev_diff > 0 || $size_diff >= ALERT_SIZE || $date_diff <=
ALERT_DATE) {
$status_mark = REV_CRITICAL;
+ } else {
+ // We need a value here for the CSS, default to 'old'
+ $status_mark = REV_OLD;
}
+
// Make the maintainer a link, if we have that maintainer in the list
if ($r['maintainer'] && $r["maintainer"] !=
'nobody') {
$r["maintainer"] = '<a
href="?p=translators#maint-' . $r['maintainer'] . '">' .
$r["maintainer"] . '</a>';