summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-28 23:17:32 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-28 23:17:32 -0800
commitaacafaaf35d8cc41c9d6374412c8cf1e2544dad7 (patch)
tree898f5cfffcfaa0614209352eff2b08891d9f1260
parent9908f37eef22db81061eef7783d4d7fd11ccaf3b (diff)
Add @todo.
-rw-r--r--modules/gallery/controllers/quick.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/quick.php b/modules/gallery/controllers/quick.php
index 7f9a9826..04aab8dc 100644
--- a/modules/gallery/controllers/quick.php
+++ b/modules/gallery/controllers/quick.php
@@ -47,6 +47,7 @@ class Quick_Controller extends Controller {
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;