diff options
author | cash <cash.costello@gmail.com> | 2013-03-15 11:18:05 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-03-15 11:18:05 -0400 |
commit | a2ecf54d56d9f877e6f0f8ac6d841cee6187aac4 (patch) | |
tree | ccd5b6029d3f77cc09144132d12fbd2c2e2b0fa4 /engine/classes/ElggEntity.php | |
parent | 4cd8bc8d68008f509ce97b2e31e1e5ccfec7bdf0 (diff) | |
download | elgg-a2ecf54d56d9f877e6f0f8ac6d841cee6187aac4.tar.gz elgg-a2ecf54d56d9f877e6f0f8ac6d841cee6187aac4.tar.bz2 |
more coding standard fixes
Diffstat (limited to 'engine/classes/ElggEntity.php')
-rw-r--r-- | engine/classes/ElggEntity.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index f44e73023..5a63c7b15 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -375,12 +375,11 @@ abstract class ElggEntity extends ElggData implements } return $result; - } - - // unsaved entity. store in temp array - // returning single entries instead of an array of 1 element is decided in - // getMetaData(), just like pulling from the db. - else { + } else { + // unsaved entity. store in temp array + // returning single entries instead of an array of 1 element is decided in + // getMetaData(), just like pulling from the db. + // // if overwrite, delete first if (!$multiple || !isset($this->temp_metadata[$name])) { $this->temp_metadata[$name] = array(); |