From e9cdcbcac82e6f30b0cd52386844034976fc6133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 15 Mar 2010 18:05:33 +0000 Subject: [PATCH] Fix Infolog timezone issue (Bug 8002) --- infolog/inc/class.infolog_bo.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index 014a7c5401..04b70335fa 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -912,9 +912,13 @@ class infolog_bo function &search(&$query) { //echo "

boinfolog::search(".print_r($query,True).")

\n"; - if (!empty($query['start'])) + foreach ($this->timestamps as $key) { - $query['start'] = egw_time::user2server($query['start'],'ts'); + $key = substr($key, 5); + if (!empty($query[$key])) + { + $query[$key] = egw_time::user2server($query[$key],'ts'); + } } $ret = $this->so->search($query);