[Owncloud] user_ldap getUsers mistyped

Manuel Delgado manuel.delgado at ucr.ac.cr
Thu Sep 27 17:04:44 UTC 2012

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

Manuel Delgado


*Usuario Linux* *#520940 <http://counter.li.org/>*

Bach. Computación e Informática
Universidad de Costa Rica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120927/910760a3/attachment.html>

More information about the Owncloud mailing list