mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixed old search (read) for no filter given
This commit is contained in:
parent
8cbca0bfd2
commit
d03b888c94
@ -91,11 +91,14 @@ class contacts extends bocontacts
|
||||
{
|
||||
//echo "<p>contacts::old_read($start,$limit,".print_r($fields,true).",$query,'$filter','$sort','$order',$lastmod,$cquery)</p>\n";
|
||||
$sfilter = array();
|
||||
foreach(explode(',',$filter) as $expr)
|
||||
if ($filter)
|
||||
{
|
||||
list($col,$value) = explode('=',$expr);
|
||||
|
||||
$sfilter[$col] = $value;
|
||||
foreach(explode(',',$filter) as $expr)
|
||||
{
|
||||
list($col,$value) = explode('=',$expr);
|
||||
|
||||
$sfilter[$col] = $value;
|
||||
}
|
||||
}
|
||||
if ($lastmod != -1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user