diff options
| author | spiderr <spider@viovio.com> | 2012-01-16 15:33:13 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-01-16 15:33:13 -0500 |
| commit | 5c3423a2c1414e4f6d7ca669a5c5815827ed7e77 (patch) | |
| tree | 83676fcb9505a661bcb422ab95ad1c46024dfa43 | |
| parent | 0f2c5181d161c9009c0dea3f8e2eca26bafec366 (diff) | |
| download | tags-5c3423a2c1414e4f6d7ca669a5c5815827ed7e77.tar.gz tags-5c3423a2c1414e4f6d7ca669a5c5815827ed7e77.tar.bz2 tags-5c3423a2c1414e4f6d7ca669a5c5815827ed7e77.zip | |
tags service function will now only store if isset tag_map_store
| -rw-r--r-- | LibertyTag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibertyTag.php b/LibertyTag.php index 5599a39..20e41d0 100644 --- a/LibertyTag.php +++ b/LibertyTag.php @@ -735,7 +735,7 @@ function tags_content_store( &$pObject, &$pParamHash ) { if( $gBitUser->hasPermission( 'p_tags_create' ) ) { $errors = NULL; // If a content access system is active, let's call it - if( $gBitSystem->isPackageActive( 'tags' ) ) { + if( $gBitSystem->isPackageActive( 'tags' ) && isset( $pParamHash['tag_map_store'] ) ) { $tag = new LibertyTag( $pObject->mContentId ); if( $gBitUser->hasPermission('p_tags_create') ) { $tag->expungeMyContentFromTagMap( $pObject ); |
