cvs: pear /DB_ldap ldap.php

From: Date: Mon, 21 Jan 2002 08:24:27 +0000
Subject: cvs: pear /DB_ldap ldap.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2029@lists.php.net to get a copy of this message
ludoo Mon Jan 21 03:24:27 2002 EDT Modified files: /pear/DB_ldap ldap.php Log: small fixes Index: pear/DB_ldap/ldap.php diff -u pear/DB_ldap/ldap.php:1.4 pear/DB_ldap/ldap.php:1.5 --- pear/DB_ldap/ldap.php:1.4 Sat Jan 19 11:08:10 2002 +++ pear/DB_ldap/ldap.php Mon Jan 21 03:24:27 2002 @@ -20,7 +20,7 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // -// $Id: ldap.php,v 1.4 2002/01/19 16:08:10 ludoo Exp $ +// $Id: ldap.php,v 1.5 2002/01/21 08:24:27 ludoo Exp $ // require_once 'DB/common.php'; @@ -216,7 +216,7 @@ function cmp($a, $b) { - return(strcmp($this->_recordset[$a][$this->dbh->sorting], $this->_recordset[$b][$this->dbh->sorting])); + return(strcmp(strtolower($this->_recordset[$a][$this->dbh->sorting]), strtolower($this->_recordset[$b][$this->dbh->sorting]))); } /** @@ -255,7 +255,7 @@ $this->_recordset = null; $this->_record = null; ldap_free_result($this->result); - $this->result = false; + $this->result = null; return true; } @@ -737,7 +737,7 @@ return true; } - function freeQuery($query) + function freeQuery($query = '') { $this->q_action = ''; $this->q_params = array();

« previous php.pear.cvs (#2029) next »