TimeUnless gives '' for no time
This commit is contained in:
parent
db8280ef3b
commit
a4dbe96e53
|
@ -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>';
|
||||
|
|
Loading…
Reference in New Issue