From f1f08168b325605a489b5f21cfdfff96312d55f8 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 23 Oct 2010 15:01:00 +0000 Subject: moved cover code into album class --- actions/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/edit.php') diff --git a/actions/edit.php b/actions/edit.php index db6e26ab9..cca66941a 100644 --- a/actions/edit.php +++ b/actions/edit.php @@ -65,7 +65,7 @@ if (is_array($tagarray)) { //if cover meta is sent from image save as metadata if ($subtype == 'image' && $cover == elgg_echo('album:cover')) { $album = get_entity($container_guid); - $album->cover = $entity->guid; + $album->setCoverImageGuid($entity->guid); } // Success message -- cgit v1.2.3