From 352a87fee8c32a48184f340685d16f7281957ef4 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 8 Sep 2009 15:41:32 +1000 Subject: [PATCH] Auto run query for unique attributes when link is clicked --- lib/ds_ldap_pla.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ds_ldap_pla.php b/lib/ds_ldap_pla.php index f5b91ab..5b6415f 100644 --- a/lib/ds_ldap_pla.php +++ b/lib/ds_ldap_pla.php @@ -587,7 +587,7 @@ class ldap_pla extends ldap { foreach ($results as $values) # If one of the attributes is owned to somebody else, then we may as well die here. if ($values['dn'] != $dn) { - $href = sprintf('cmd.php?cmd=query_engine&server_id=%s&filter=%s&scope=sub&query=none&format=list',$this->index,$query['filter']); + $href = sprintf('cmd.php?cmd=query_engine&server_id=%s&filter=%s&scope=sub&query=none&format=list&search=true',$this->index,$query['filter']); system_message(array( 'title'=>_('Attribute value would not be unique'),