Fix bug causing too many results from foreign key search

This commit is contained in:
Nathan Gray 2011-12-23 15:41:28 +00:00
parent eb6aa373e3
commit a76985d1d2

View File

@ -528,7 +528,7 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
// Search // Search
if(egw_link::get_registry($app, 'query')) if(egw_link::get_registry($app, 'query'))
{ {
$options = array('filter' => array($custom_field => $value)); $options = array('filter' => array("$custom_field = $value"));
$result = egw_link::query($app, '', $options); $result = egw_link::query($app, '', $options);
// Only one allowed // Only one allowed