mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +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";
|
//echo "<p>contacts::old_read($start,$limit,".print_r($fields,true).",$query,'$filter','$sort','$order',$lastmod,$cquery)</p>\n";
|
||||||
$sfilter = array();
|
$sfilter = array();
|
||||||
foreach(explode(',',$filter) as $expr)
|
if ($filter)
|
||||||
{
|
{
|
||||||
list($col,$value) = explode('=',$expr);
|
foreach(explode(',',$filter) as $expr)
|
||||||
|
{
|
||||||
|
list($col,$value) = explode('=',$expr);
|
||||||
|
|
||||||
$sfilter[$col] = $value;
|
$sfilter[$col] = $value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($lastmod != -1)
|
if ($lastmod != -1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user