From cb395d74af4fba4566abc1900e92d89be702e117 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 15 Nov 2013 18:57:52 +0100 Subject: [PATCH] LSldapObject : added parameter to getSelectArray-) method --- public_html/includes/class/class.LSldapObject.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/includes/class/class.LSldapObject.php b/public_html/includes/class/class.LSldapObject.php index 43649429..2e1b77f5 100644 --- a/public_html/includes/class/class.LSldapObject.php +++ b/public_html/includes/class/class.LSldapObject.php @@ -930,8 +930,8 @@ class LSldapObject { * * @retval array('dn' => 'display') */ - function getSelectArray($pattern=NULL,$topDn=NULL,$displayFormat=NULL,$approx=false,$cache=true) { - return $this -> listObjectsName(NULL,$topDn,array('pattern' => $pattern),$displayFormat,$cache); + function getSelectArray($pattern=NULL,$topDn=NULL,$displayFormat=NULL,$approx=false,$cache=true,$filter=NULL) { + return $this -> listObjectsName($filter,$topDn,array('pattern' => $pattern),$displayFormat,$cache); } /**