aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-24 10:02:33 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-24 10:02:33 +0000
commit7a62646de68459952fd0eefcbf62b35327a65646 (patch)
tree20daa014b71791a37f5eba1140412b5e2c1bf9e5 /engine/lib/entities.php
parentb23a13b0263efd2ef0fd8a26a6d4e724c4d4be9e (diff)
downloadelgg-7a62646de68459952fd0eefcbf62b35327a65646.tar.gz
elgg-7a62646de68459952fd0eefcbf62b35327a65646.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@515 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-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));