LSldapObject :: validateAttrData() : Fixed error in search filter specified by user

This commit is contained in:
Benjamin Renard 2010-11-24 18:57:43 +01:00
parent 447ad68998
commit 086ffb3641

View file

@ -444,7 +444,7 @@ class LSldapObject {
if((isset($test['filter'])||isset($test['basedn']))&&(isset($test['result']))) {
$sparams=(isset($test['scope']))?array('scope' => $test['scope']):array();
$this -> other_values['val']=$val;
$sfilter_user=(isset($test['basedn']))?getFData($test['filter'],$this,'getValue'):NULL;
$sfilter_user=(isset($test['filter']))?getFData($test['filter'],$this,'getValue'):NULL;
if(isset($test['object_type'])) {
$test_obj = new $test['object_type']();
$sfilter=$test_obj->getObjectFilter();