diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-20 05:13:22 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-20 05:13:22 +0000 |
commit | cac164a2d4d847718c859e1f5998ed714a7193e8 (patch) | |
tree | 9b421953d508d3c94101895e779ef1dfd546cfd5 | |
parent | 9b2785069c13ed320e369670a69ba0695526ba7e (diff) | |
download | elgg-cac164a2d4d847718c859e1f5998ed714a7193e8.tar.gz elgg-cac164a2d4d847718c859e1f5998ed714a7193e8.tar.bz2 |
Fixes #3192, refs #650. ElggEntity->getMetaData() sets the limit to 0 for array-based metadata.
git-svn-id: http://code.elgg.org/elgg/trunk@8780 36083f99-b078-4883-b0ff-0f9b5a30f544
-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 248756b17..cf58bd435 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -239,7 +239,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])) { |