- Minor bugfixes
This commit is contained in:
		
							parent
							
								
									7a06f5fd64
								
							
						
					
					
						commit
						f6d86001d5
					
				| @ -177,7 +177,7 @@ class LdapObject { | |||||||
|     public function runUpdateQuery(array $filter, array $dataset) |     public function runUpdateQuery(array $filter, array $dataset) | ||||||
|     { |     { | ||||||
|         static::$dump && call_user_func_array(static::$dump, [ $filter, $dataset ]); |         static::$dump && call_user_func_array(static::$dump, [ $filter, $dataset ]); | ||||||
|         dump($filter, $dataset); |          | ||||||
|         if ( false === ( $queryResult = ldap_mod_replace($this->connection, $filter['dn'], $dataset) ) ) { |         if ( false === ( $queryResult = ldap_mod_replace($this->connection, $filter['dn'], $dataset) ) ) { | ||||||
|             $this->throwLdapException(); |             $this->throwLdapException(); | ||||||
|         } |         } | ||||||
|  | |||||||
| @ -241,7 +241,7 @@ class QueryBuilder implements Ulmus\Query\QueryBuilderInterface | |||||||
|         return null; |         return null; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     public function removeFragment(Ulmus\Query\Fragment $fragment) : void |     public function removeFragment(array|string|Ulmus\Query\Fragment|\Stringable $fragment) : void | ||||||
|     { |     { | ||||||
|         foreach($this->queryStack as $key => $item) { |         foreach($this->queryStack as $key => $item) { | ||||||
|             if ( $item === $fragment ) { |             if ( $item === $fragment ) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user