diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-08-01 11:39:57 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-08-01 11:39:57 +0200 |
commit | f4e36790800395d4f5287c3ac80c770e9d25a623 (patch) | |
tree | 3cae5249ced6a70c6b87629bc4170d27d5ef187a | |
parent | d1e52ca9bc784d8d7e324a93b732f05e39a19706 (diff) |
don't display empty date
-rw-r--r-- | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |