diff options
Diffstat (limited to 'core/controllers/move.php')
-rw-r--r-- | core/controllers/move.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/move.php b/core/controllers/move.php index 26c507f9..069de771 100644 --- a/core/controllers/move.php +++ b/core/controllers/move.php @@ -39,7 +39,7 @@ class Move_Controller extends Controller { // If the target has no cover item, make this it. if ($target->album_cover_item_id == null) { $target->album_cover_item_id = - $source->type == "album" ? $source->album_cover_item_id : $source->id; + $source->is_album() ? $source->album_cover_item_id : $source->id; $target->save(); graphics::generate($target); } |