Hi all<br><br>I was doing some testing on ldap (again) and found a logic error in user_ldap.php in the getUsers() function, line 114 [1].<br><br>It reads:<br>if($limit = -1) {<br><br>and should be:<br>if($limit == -1) {<br>


<br>I found it because the array_slice() wasn't working in my testing sandbox ;-)<br><br>Regards,<br>Manuel Delgado<br><br>[1] <a href="https://github.com/owncloud/core/blob/master/apps/user_ldap/user_ldap.php#L114" target="_blank">https://github.com/owncloud/core/blob/master/apps/user_ldap/user_ldap.php#L114</a><br>


<br>-----------------------------------------------------------<br><b>Usuario Linux</b> <i>#<a href="http://counter.li.org/" target="_blank">520940</a></i> <br><br>Bach. Computación e Informática<br>Universidad de Costa Rica<br>


<br><br><br>