summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-26 20:23:40 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-26 20:23:40 +0000
commit95a18420342396de119090da9131ff4e417ba42d (patch)
tree29fa18862050a67697ef70411814223d7e7c7889
parent60c85384b477b1b0c4b70d6faddd4511526a101b (diff)
Remove the commented line $parent->$movie->parent() as the $parent
object was passed in as a parameter.
-rw-r--r--core/helpers/movie.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/movie.php b/core/helpers/movie.php
index 78c28908..22a1c62d 100644
--- a/core/helpers/movie.php
+++ b/core/helpers/movie.php
@@ -90,9 +90,9 @@ class movie_Core {
graphics::generate($movie);
// If the parent has no cover item, make this it.
- //$parent = $movie->parent();
if ($parent->album_cover_item_id == null) {
$parent->album_cover_item_id = $movie->id;
+
$parent->save();
graphics::generate($parent);
}