From 5c3423a2c1414e4f6d7ca669a5c5815827ed7e77 Mon Sep 17 00:00:00 2001 From: spiderr Date: Mon, 16 Jan 2012 15:33:13 -0500 Subject: tags service function will now only store if isset tag_map_store --- LibertyTag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- cgit v1.3