aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/entities.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 2e330042c..3e912836a 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -435,12 +435,11 @@
$meta = new ODDMetadata($uuid . "attr/$k/", $uuid, $k, $v);
break;
-
-
default :
$meta = new ODDMetadata($uuid . "attr/$k/", $uuid, $k, $v);
}
+ // set the time of any metadata created
if ($meta)
{
$meta->setAttribute('published', date("r",$this->time_created));