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#L114

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

Bach. Computación e Informática
Universidad de Costa Rica
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to