summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 0c163b1..24d4fbd 100644
--- a/index.php
+++ b/index.php
@@ -58,7 +58,9 @@ try {
),
'sub_name' => $repo->sub,
'url' => $repo->url,
- 'date' => date("r", $repo->stamp)
+ 'date' => ($repo->stamp
+ ? date("r", $repo->stamp)
+ : '')
);
}
$smarty->assign('repositories', $repositories);