summaryrefslogtreecommitdiff
path: root/LibertyTag.php
diff options
context:
space:
mode:
Diffstat (limited to 'LibertyTag.php')
-rw-r--r--LibertyTag.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/LibertyTag.php b/LibertyTag.php
index aea2f4e..5599a39 100644
--- a/LibertyTag.php
+++ b/LibertyTag.php
@@ -717,9 +717,11 @@ function tags_content_edit( $pObject=NULL ) {
}
}
+ $pObject->setField( 'tags', implode(", ", $tags) );
+
$gBitSmarty->assign( 'loadTags', TRUE );
- $gBitSmarty->assign( 'tagList', !empty( $tags ) ? implode(", ", $tags) : NULL );
- $gBitSmarty->assign( 'tagData', !empty( $tag->mInfo['tags'] ) ? $tag->mInfo['tags'] : NULL );
+ $gBitSmarty->assign( 'tagList', $pObject->getField( 'tags' ) );
+ $gBitSmarty->assign( 'tagData', $tag->getField( 'tags' ) );
}
}
}