diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-01 19:01:49 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-01 19:01:49 +0000 |
| commit | 1d8bcac7cca8d02d8705038928fff14a7e3859b4 (patch) | |
| tree | df9f1feaa447c02400e04d032f2825de26483bd7 /Pigeonholes.php | |
| parent | 78d9a2c7618323b0585e68d006f2e7bfd38ba7d6 (diff) | |
| download | pigeonholes-1d8bcac7cca8d02d8705038928fff14a7e3859b4.tar.gz pigeonholes-1d8bcac7cca8d02d8705038928fff14a7e3859b4.tar.bz2 pigeonholes-1d8bcac7cca8d02d8705038928fff14a7e3859b4.zip | |
unify table aliases
Diffstat (limited to 'Pigeonholes.php')
| -rw-r--r-- | Pigeonholes.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Pigeonholes.php b/Pigeonholes.php index fb042ea..c1ce0f6 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.34 2006/02/01 18:42:44 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.35 2006/02/01 19:01:49 squareing Exp $ * * +----------------------------------------------------------------------+ * | Copyright ( c ) 2004, bitweaver.org @@ -17,7 +17,7 @@ * Pigeonholes class * * @author xing <xing@synapse.plus.com> - * @version $Revision: 1.34 $ + * @version $Revision: 1.35 $ * @package pigeonholes */ @@ -125,8 +125,8 @@ class Pigeonholes extends LibertyAttachable { if( !empty( $pListHash['title'] ) && is_string( $pListHash['title'] ) ) { $where .= empty( $where ) ? ' WHERE ' : ' AND '; - $where .= " pig.`content_id` = tc2.`content_id` AND UPPER( tc2.`title` ) = ?"; - $join = ", `".BIT_DB_PREFIX."liberty_content` tc2"; + $where .= " pig.`content_id` = lc2.`content_id` AND UPPER( lc2.`title` ) = ?"; + $join = ", `".BIT_DB_PREFIX."liberty_content` lc2"; $bindVars[] = strtoupper( $pListHash['title'] ); } |
