mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Properly quote foreign key before searching
This commit is contained in:
parent
3dbab868e2
commit
8d6c063ae2
@ -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 = " . $GLOBALS['egw']->db->quote($value)));
|
||||
$result = egw_link::query($app, '', $options);
|
||||
|
||||
// Only one allowed
|
||||
|
Loading…
Reference in New Issue
Block a user