aboutsummaryrefslogtreecommitdiff
path: root/actions/edit.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-10-23 15:01:00 +0000
committerCash Costello <cash.costello@gmail.com>2010-10-23 15:01:00 +0000
commitf1f08168b325605a489b5f21cfdfff96312d55f8 (patch)
tree15d8e30d9b645c3fe229cb9a336e7a7708e46070 /actions/edit.php
parentbff17c5857d0365038e6783c3c00b53204f4a10e (diff)
downloadelgg-f1f08168b325605a489b5f21cfdfff96312d55f8.tar.gz
elgg-f1f08168b325605a489b5f21cfdfff96312d55f8.tar.bz2
moved cover code into album class
Diffstat (limited to 'actions/edit.php')
-rw-r--r--actions/edit.php2
1 files changed, 1 insertions, 1 deletions
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