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:
parent
480345dd6b
commit
3b989805d0
|
@ -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>
|
2010-05-13 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/functions_reporting.php
|
* include/functions_reporting.php
|
||||||
|
|
|
@ -177,7 +177,7 @@ function print_timestamp ($unixtime, $return = false, $option = array ()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//prominent_time is either timestamp or comparation
|
//prominent_time is either timestamp or comparation
|
||||||
if ($unixtime == 0) {
|
if ($unixtime <= 0) {
|
||||||
$title = __('Unknown').'/'.__('Never');
|
$title = __('Unknown').'/'.__('Never');
|
||||||
$data = __('Unknown');
|
$data = __('Unknown');
|
||||||
} elseif ($prominent == "timestamp") {
|
} elseif ($prominent == "timestamp") {
|
||||||
|
|
Loading…
Reference in New Issue