summaryrefslogtreecommitdiffstats
path: root/lib/class
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class')
-rw-r--r--lib/class/catalog.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 79203977..21d725db 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -113,8 +113,8 @@ class Catalog {
$this->f_name = truncate_with_ellipsis($this->name,Config::get('ellipse_threshold_title'));
$this->f_name_link = '<a href="' . Config::get('web_path') . '/admin/catalog.php?action=show_customize_catalog&catalog_id=' . $this->id . '" title="' . scrub_out($this->name) . '">' . scrub_out($this->f_name) . '</a>';
$this->f_path = truncate_with_ellipsis($this->path,Config::get('ellipse_threshold_title'));
- $this->f_update = date('d/m/Y h:i',$this->last_update);
- $this->f_add = date('d/m/Y h:i',$this->last_add);
+ $this->f_update = $this->last_update ? date('d/m/Y h:i',$this->last_update) : _('Never');
+ $this->f_add = $this->last_add ? date('d/m/Y h:i',$this->last_add) : _('Never');
} // format