mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
Fix Infolog timezone issue (Bug 8002)
This commit is contained in:
parent
c53c27d9d4
commit
a5a15414d3
@ -912,9 +912,13 @@ class infolog_bo
|
|||||||
function &search(&$query)
|
function &search(&$query)
|
||||||
{
|
{
|
||||||
//echo "<p>boinfolog::search(".print_r($query,True).")</p>\n";
|
//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);
|
$ret = $this->so->search($query);
|
||||||
|
Loading…
Reference in New Issue
Block a user