[Owncloud] user_ldap getUsers mistyped

Arthur Schiwon blizzz at owncloud.com
Thu Sep 27 17:56:15 UTC 2012


Thank You! Pushed the fix to master.

Cheers
Arthur

On Thursday, September 27, 2012 11:04:44 AM Manuel Delgado wrote:
> Hi all
> 
> I was doing some testing on ldap (again) and found a logic error in
> user_ldap.php in the getUsers() function, line 114 [1].
> 
> It reads:
> if($limit = -1) {
> 
> and should be:
> if($limit == -1) {
> 
> I found it because the array_slice() wasn't working in my testing sandbox
> ;-)
> 
> Regards,
> Manuel Delgado
> 
> [1]
> https://github.com/owncloud/core/blob/master/apps/user_ldap/user_ldap.php#L1
> 14
> 
> -----------------------------------------------------------
> *Usuario Linux* *#520940 <http://counter.li.org/>*
> 
> Bach. Computación e Informática
> Universidad de Costa Rica



More information about the Owncloud mailing list