aboutsummaryrefslogtreecommitdiffstats
path: root/Model/Behavior.php
diff options
context:
space:
mode:
Diffstat (limited to 'Model/Behavior.php')
-rw-r--r--Model/Behavior.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Model/Behavior.php b/Model/Behavior.php
index fdc12d1..6c5ee46 100644
--- a/Model/Behavior.php
+++ b/Model/Behavior.php
@@ -249,6 +249,8 @@ class Behavior extends Clause {
'Clause @%s is not allowed in @%s.',
0, array($name, $this->getId()));
+ $clause->setParent($this);
+
return $this->_clauses[$name] = $clause;
}