summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-01-26 13:33:49 -0500
committerspiderr <spider@viovio.com>2012-01-26 13:33:49 -0500
commit38366113ee6755d983af00f8054b68e758372d59 (patch)
tree0ff16a83ef50f14078a8dbe3b58861982dd62b18
parent5c3423a2c1414e4f6d7ca669a5c5815827ed7e77 (diff)
downloadtags-38366113ee6755d983af00f8054b68e758372d59.tar.gz
tags-38366113ee6755d983af00f8054b68e758372d59.tar.bz2
tags-38366113ee6755d983af00f8054b68e758372d59.zip
fix pParamHash check on tags
-rw-r--r--LibertyTag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibertyTag.php b/LibertyTag.php
index 20e41d0..3997c57 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' ) && isset( $pParamHash['tag_map_store'] ) ) {
+ if( $gBitSystem->isPackageActive( 'tags' ) && isset( $pParamHash['tags'] ) ) {
$tag = new LibertyTag( $pObject->mContentId );
if( $gBitUser->hasPermission('p_tags_create') ) {
$tag->expungeMyContentFromTagMap( $pObject );