mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Do not query server if there's no actual taglist query, fix fatal error "Memory exhaustion"
This commit is contained in:
parent
c158707718
commit
c8020e6456
@ -79,7 +79,7 @@ class Taglist extends Etemplate\Widget
|
|||||||
$links = Api\Accounts::link_query($query, $options);
|
$links = Api\Accounts::link_query($query, $options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
elseif($query) // Only search if there's a query, avoid searching for all
|
||||||
{
|
{
|
||||||
$links = Api\Link::query($app, $query, $options);
|
$links = Api\Link::query($app, $query, $options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user