mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
redirectWhenOnlyOneResult() : Added urlencode() of object's DN in redirect URL
This commit is contained in:
parent
fe323be9b0
commit
c39bb162d0
1 changed files with 1 additions and 1 deletions
|
@ -1046,7 +1046,7 @@ class LSsearch {
|
|||
**/
|
||||
function redirectWhenOnlyOneResult() {
|
||||
if ($this -> total == 1 && $this -> result && self::formIsSubmited()) {
|
||||
LSsession :: redirect('view.php?LSobject='.$this -> LSobject.'&dn='.$this -> result['list'][0]['dn']);
|
||||
LSsession :: redirect('view.php?LSobject='.$this -> LSobject.'&dn='.urlencode($this -> result['list'][0]['dn']));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue