We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26136d7 commit 46c93e4Copy full SHA for 46c93e4
model/behavior/taggable.php
@@ -66,7 +66,11 @@ public function onMixin(KObjectMixable $mixer)
66
protected function _makeTaggable(KModelContextInterface $context)
67
{
68
$model = $context->getSubject();
69
- $model->getTable()->addBehavior('com:tags.database.behavior.taggable', array('strict' => $this->getConfig()->strict));
+
70
+ $model->getTable()->addBehavior('com:tags.database.behavior.taggable', array(
71
+ 'tags' => $model->getState()->tag,
72
+ 'strict' => $this->getConfig()->strict
73
+ ));
74
}
75
76
/**
0 commit comments