From 3b989805d041660a75838568dd82fdadd8db1472 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Thu, 13 May 2010 14:45:52 +0000 Subject: [PATCH] 2010-05-13 Sergio Martin * include/functions_ui.php: Fixed negative timestamp for bug: 2926876 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_ui.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9d824ab980..444cf1e100 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-05-13 Sergio Martin + + * include/functions_ui.php: Fixed negative timestamp + for bug: 2926876 + 2010-05-13 Sergio Martin * include/functions_reporting.php diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index f7b4e29c34..4e2e051d65 100644 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -177,7 +177,7 @@ function print_timestamp ($unixtime, $return = false, $option = array ()) { } //prominent_time is either timestamp or comparation - if ($unixtime == 0) { + if ($unixtime <= 0) { $title = __('Unknown').'/'.__('Never'); $data = __('Unknown'); } elseif ($prominent == "timestamp") {