Fix Infolog timezone issue (Bug 8002)

This commit is contained in:
Jörg Lehrke 2010-03-15 18:05:33 +00:00
parent 8b5dfcb926
commit e9cdcbcac8

View File

@ -912,9 +912,13 @@ class infolog_bo
function &search(&$query)
{
//echo "<p>boinfolog::search(".print_r($query,True).")</p>\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);