Skip to content

Commit

Permalink
Add @todo.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Jan 29, 2010
1 parent 9908f37 commit aacafaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gallery/controllers/quick.php
Expand Up @@ -47,6 +47,7 @@ public function rotate($id, $dir) {
graphics::generate($item);

$parent = $item->parent();
// @todo: this is an inadequate way to regenerate the parent's thumbnail after rotation.
if ($parent->album_cover_item_id == $item->id) {
copy($item->thumb_path(), $parent->thumb_path());
$parent->thumb_width = $item->thumb_width;
Expand Down

0 comments on commit aacafaa

Please sign in to comment.