Subject: [PATCH] Make sure the timestamp was indeed extracted

From: Raphael Geissert <[email-masked]>
Date: Sat, 31 Jan 2009 19:22:30 -0600

Signed-off-by: Raphael Geissert <[email-masked]>
---
 checks/standards-version |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/checks/standards-version b/checks/standards-version
index 6282102..c3bf93f 100644
--- a/checks/standards-version
+++ b/checks/standards-version
@@ -133,7 +133,7 @@ if (not $STANDARDS->known($stdver)) {
             return 0;
         }
         my ($entry) = $changes->data;
-        my $timestamp = $entry ? $entry->Timestamp : 0;
+        my $timestamp = ($entry && $entry->Timestamp)? $entry->Timestamp : 0;
         for my $standard (@STANDARDS) {
             last if $standard->[0] eq $stdver;
             if ($standard->[1] < $timestamp) {