2010-05-13 Sergio Martin <sergio.martin@artica.es>

* 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
This commit is contained in:
zarzuelo 2010-05-13 14:45:52 +00:00
parent 480345dd6b
commit 3b989805d0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-05-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Fixed negative timestamp
for bug: 2926876
2010-05-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php

View File

@ -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") {