aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {