aboutsummaryrefslogtreecommitdiffstats
path: root/Model
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-20 19:39:36 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-20 19:39:36 +0100
commite47d09ad6395efe226b9757c0465028729c4ab82 (patch)
tree03c075d6ebe11769fd7be72215064265649040c8 /Model
parent8c99caaa0f6c215ab4efc1c2e6a5389fd2f9fa20 (diff)
downloadPraspel-e47d09ad6395efe226b9757c0465028729c4ab82.zip
Praspel-e47d09ad6395efe226b9757c0465028729c4ab82.tar.gz
Praspel-e47d09ad6395efe226b9757c0465028729c4ab82.tar.bz2
Set holder on disjunction.
Diffstat (limited to 'Model')
-rw-r--r--Model/Variable.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Model/Variable.php b/Model/Variable.php
index 1ff9da7..35df133 100644
--- a/Model/Variable.php
+++ b/Model/Variable.php
@@ -236,11 +236,10 @@ class Variable
unset($this->_refDomains);
$this->_refDomains = &$this->_domains;
- foreach($this->getDomains() as $domain) {
+ $this->_domains->setHolder($this);
+ foreach($this->_domains as $domain)
$domain->setConstraints($this->_constraints);
- $domain->setHolder($this);
- }
return;
}