diff --git a/application/views/helpers/TimeUnless.php b/application/views/helpers/TimeUnless.php index 2a9b4c6ee..6fde74f91 100644 --- a/application/views/helpers/TimeUnless.php +++ b/application/views/helpers/TimeUnless.php @@ -38,6 +38,7 @@ class Zend_View_Helper_TimeUnless extends Zend_View_Helper_Abstract { public function timeUnless($timestamp) { + if (! $timestamp) return ''; return '<span class="timeunless">' . Format::timeUntil($timestamp) . '</span>';