From a76985d1d24967c0e226fd0c0f3433aa6df188b4 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 23 Dec 2011 15:41:28 +0000 Subject: [PATCH] Fix bug causing too many results from foreign key search --- infolog/inc/class.infolog_import_infologs_csv.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_import_infologs_csv.inc.php b/infolog/inc/class.infolog_import_infologs_csv.inc.php index 67c643fdf4..e74adbdbb0 100644 --- a/infolog/inc/class.infolog_import_infologs_csv.inc.php +++ b/infolog/inc/class.infolog_import_infologs_csv.inc.php @@ -528,7 +528,7 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin { // Search 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); // Only one allowed