aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 14:27:28 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 14:27:28 +0000
commitbbe328d136e55c3532d63205b5e09bf3741ac950 (patch)
tree85040415a2cc1f971a1c05a451b2e4118722f53e /engine/lib
parent0cd8606e818d5ca0f0cd9e3f8b4cd0901c08521e (diff)
downloadelgg-bbe328d136e55c3532d63205b5e09bf3741ac950.tar.gz
elgg-bbe328d136e55c3532d63205b5e09bf3741ac950.tar.bz2
Speculative fix for metadata issue.
git-svn-id: https://code.elgg.org/elgg/trunk@1707 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 02c6e5d41..3c679f5cd 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -197,6 +197,7 @@
{
if (is_array($value))
{
+ unset($this->temp_metadata[$name]);
remove_metadata($this->getGUID(), $name);
$multiple = true;
foreach ($value as $v) {