diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-08-01 17:39:57 +0800 |
---|---|---|
committer | Johan Cwiklinski <trasher@x-tnd.be> | 2010-08-01 18:17:04 +0800 |
commit | 7ed7a3829a298742cc40c83f8c898a0f23c4b10e (patch) | |
tree | 3cae5249ced6a70c6b87629bc4170d27d5ef187a /index.php | |
parent | 2091997e6d1f10b2ea0093483678541c5bec35f3 (diff) |
don't display empty date
Diffstat (limited to 'index.php')
-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); |