svn: /web/doc/trunk/www/ revcheck.php
[email protected] (Kalle Sommer Nielsen)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
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>';