aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-15 15:00:54 -0700
committerCash Costello <cash.costello@gmail.com>2012-06-15 15:00:54 -0700
commit19e2a8d99b0aab82e8213d171547486500b0784f (patch)
tree68523c0b40ef86e9c2a01c8d7302b51282d78c1d /engine
parent957137ea2702924401ef1f4f63e7b603b0703d10 (diff)
parent34de6036015f072cd809c3240228f56b23c7de91 (diff)
downloadelgg-19e2a8d99b0aab82e8213d171547486500b0784f.tar.gz
elgg-19e2a8d99b0aab82e8213d171547486500b0784f.tar.bz2
Merge pull request #271 from Srokap/ticket_450
Fixes #450 Enabling entity doesn't enable it's children entities.
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 4875b2c2f..c06e7fb99 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1452,6 +1452,7 @@ function enable_entity($guid, $recursive = true) {
'relationship' => 'disabled_with',
'relationship_guid' => $entity->guid,
'inverse_relationship' => true,
+ 'limit' => 0,
));
foreach ($disabled_with_it as $e) {