From: Srokap Date: Fri, 15 Jun 2012 15:43:50 +0000 (+0200) Subject: Fixes #450 Enabling entity doesn't enable it's children entities. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=34de6036015f072cd809c3240228f56b23c7de91;p=lorea%2Felgg.git Fixes #450 Enabling entity doesn't enable it's children entities. --- 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) {