summaryrefslogtreecommitdiff
path: root/LibertySystem.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-02-08 23:24:28 +0000
committerChristian Fowler <spider@viovio.com>2006-02-08 23:24:28 +0000
commitf79a5cdd8905832db9d8eb18a7605bcb61ac3940 (patch)
tree6a7219749105b8046bb676a4bd626e6b0a6a3c59 /LibertySystem.php
parent80c3623e3f7cd54831be078834f8e6a30c5c25f8 (diff)
downloadliberty-f79a5cdd8905832db9d8eb18a7605bcb61ac3940.tar.gz
liberty-f79a5cdd8905832db9d8eb18a7605bcb61ac3940.tar.bz2
liberty-f79a5cdd8905832db9d8eb18a7605bcb61ac3940.zip
major change of BitDbBase::associateUpdate method - it now takes a simpler array( 'column1' => 'value1', columnN' => 'valueN' ) as the third parameter. This allows much simpler updating based on multiple columns in the WHERE clause
Diffstat (limited to 'LibertySystem.php')
-rwxr-xr-xLibertySystem.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertySystem.php b/LibertySystem.php
index c786e92..07169dc 100755
--- a/LibertySystem.php
+++ b/LibertySystem.php
@@ -3,7 +3,7 @@
* System class for handling the liberty package
*
* @package liberty
-* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.14 2006/02/08 08:12:00 lsces Exp $
+* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.15 2006/02/08 23:24:27 spiderr Exp $
* @author spider <spider@steelsun.com>
*/
@@ -121,7 +121,7 @@ class LibertySystem extends LibertyBase {
$this->loadContentTypes( 0 );
} else {
if( $pTypeParams['handler_package'] != $this->mContentTypes[$pGuid]['handler_package'] || $pTypeParams['handler_file'] != $this->mContentTypes[$pGuid]['handler_file'] || $pTypeParams['handler_class'] != $this->mContentTypes[$pGuid]['handler_class'] ) {
- $result = $this->mDb->associateUpdate( BIT_DB_PREFIX."liberty_content_types", $pTypeParams, array( 'name'=>'content_type_guid', 'value'=>$pGuid ) );
+ $result = $this->mDb->associateUpdate( BIT_DB_PREFIX."liberty_content_types", $pTypeParams, array( 'content_type_guid'=>$pGuid ) );
}
}
}