diff options
| author | Lester Caine <lester@lsces.co.uk> | 2009-05-04 12:35:37 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2009-05-04 12:35:37 +0000 |
| commit | 20262f48b269a575f238708c1b2ecc14250f1810 (patch) | |
| tree | f1ac7f2e0ca9148114888dcd44e7d5cda8532faf | |
| parent | c8ebdb757f8c34965b4c459b59837e898f3f63ad (diff) | |
| download | tags-20262f48b269a575f238708c1b2ecc14250f1810.tar.gz tags-20262f48b269a575f238708c1b2ecc14250f1810.tar.bz2 tags-20262f48b269a575f238708c1b2ecc14250f1810.zip | |
Stop tags wiping gallery mapping for fisheye and treasury
| -rwxr-xr-x | LibertyTag.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LibertyTag.php b/LibertyTag.php index 454de8d..f7d1e91 100755 --- a/LibertyTag.php +++ b/LibertyTag.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_tags/LibertyTag.php,v 1.46 2009/01/28 21:29:11 tekimaki_admin Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_tags/LibertyTag.php,v 1.47 2009/05/04 12:35:37 lsces Exp $ * @package tags * * @copyright Copyright (c) 2004-2006, bitweaver.org @@ -244,7 +244,7 @@ class LibertyTag extends LibertyBase { function verifyTagsMap( &$pParamHash ) { global $gBitUser, $gBitSystem; - $pParamHash['map_store'] = array(); + $pParamHash['tag_map_store'] = array(); //this is to set the time we add content to a tag. $timeStamp = $gBitSystem->getUTCTime(); @@ -266,7 +266,7 @@ class LibertyTag extends LibertyBase { if( !empty($value) ) { $value = LibertyTag::sanitizeTag($value); if ( !empty($value) ) { - array_push( $pParamHash['map_store'], array( + array_push( $pParamHash['tag_map_store'], array( 'tag' => $value, 'tagged_on' => $timeStamp, 'content_id' => $this->mContentId, @@ -293,7 +293,7 @@ class LibertyTag extends LibertyBase { global $gBitSystem; if( $this->verifyTagsMap( $pParamHash ) ) { if( $this->isValid() ) { - foreach ( $pParamHash['map_store'] as $value) { + foreach ( $pParamHash['tag_map_store'] as $value) { $result = $this->store( $value ); } $this->load(); |
