aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrokap <srokap@gmail.com>2012-06-15 17:43:50 +0200
committerSrokap <srokap@gmail.com>2012-06-15 17:48:57 +0200
commit34de6036015f072cd809c3240228f56b23c7de91 (patch)
tree909049a969c2c56d23814904a599cca071d38490
parent40d35166d3f2211ab76943834a983330413ab761 (diff)
downloadelgg-34de6036015f072cd809c3240228f56b23c7de91.tar.gz
elgg-34de6036015f072cd809c3240228f56b23c7de91.tar.bz2
Fixes #450 Enabling entity doesn't enable it's children entities.
-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) {