summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LibertyTag.php2
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 );