From 7a62646de68459952fd0eefcbf62b35327a65646 Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 24 Apr 2008 10:02:33 +0000 Subject: git-svn-id: https://code.elgg.org/elgg/trunk@515 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engine/lib') 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)); -- cgit v1.2.3