diff options
-rw-r--r-- | engine/classes/ElggEntity.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index 314810894..41f19a4c1 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -249,7 +249,8 @@ abstract class ElggEntity extends ElggData implements if ((int) ($this->guid) > 0) { $md = elgg_get_metadata(array( 'guid' => $this->getGUID(), - 'metadata_name' => $name + 'metadata_name' => $name, + 'limit' => 0, )); } else { if (isset($this->temp_metadata[$name])) { |