Permalink
Browse files

Add @todo.

  • Loading branch information...
1 parent 9908f37 commit aacafaaf35d8cc41c9d6374412c8cf1e2544dad7 @bharat bharat committed Jan 29, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/gallery/controllers/quick.php
@@ -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;

0 comments on commit aacafaa

Please sign in to comment.