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 --- views/default/tidypics/forms/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/tidypics/forms/edit.php') diff --git a/views/default/tidypics/forms/edit.php b/views/default/tidypics/forms/edit.php index 74d8e85ec..8e2bd9bcc 100644 --- a/views/default/tidypics/forms/edit.php +++ b/views/default/tidypics/forms/edit.php @@ -75,7 +75,7 @@ $container_guid = page_owner(); // determine if it is already the cover $img_guid = $vars['entity']->guid; $album = get_entity($container_guid); - $cover_guid = $album->cover; + $cover_guid = $album->getCoverImageGuid(); if ($cover_guid != $img_guid) { -- cgit v1.2.3