cvs: pear /LiveUser_Admin/Storage SQL.php
| From: | Lukas Smith | Date: | Fri, 18 Aug 2006 10:00:12 +0000 |
| Subject: | cvs: pear /LiveUser_Admin/Storage SQL.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41744@lists.php.net to get a copy of this message | ||
lsmith Fri Aug 18 10:00:12 2006 UTC
Modified files:
/pear/LiveUser_Admin/Storage SQL.php
Log:
- fixed incorrect handling of single column joins (Bug #8424)
http://cvs.php.net/viewvc.cgi/pear/LiveUser_Admin/Storage/SQL.php?r1=1.60&r2=1.61&diff_format=u
Index: pear/LiveUser_Admin/Storage/SQL.php
diff -u pear/LiveUser_Admin/Storage/SQL.php:1.60 pear/LiveUser_Admin/Storage/SQL.php:1.61
--- pear/LiveUser_Admin/Storage/SQL.php:1.60 Mon Jul 17 16:50:21 2006
+++ pear/LiveUser_Admin/Storage/SQL.php Fri Aug 18 10:00:11 2006
@@ -57,7 +57,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2006 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: SQL.php,v 1.60 2006/07/17 16:50:21 lsmith Exp $
+ * @version CVS: $Id: SQL.php,v 1.61 2006/08/18 10:00:11 lsmith Exp $
* @link http://pear.php.net/LiveUser_Admin
*/
@@ -779,7 +779,7 @@
// handle single column join
} else {
$filters[] =
$this->prefix.$this->alias[$root_table].'.'.$this->tables[$root_table]['joins'][$table].'
= '.
-
$this->prefix.$this->alias[$table].'.'.$this->tables[$root_table]['joins'][$table];
+
$this->prefix.$this->alias[$table].'.'.$this->tables[$table]['joins'][$root_table];
}
unset($tables[$table]);
}