summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/quick.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-03-05 15:31:16 -0800
committerBharat Mediratta <bharat@menalto.com>2011-03-05 15:31:16 -0800
commit5ff6409a0856134a113c64768e4474e14a6c86ea (patch)
tree1d912e12b93c5c000ce504532960edb835a01545 /modules/gallery/controllers/quick.php
parent3e80fe9228bcbfa01bf87da67a47cd3f284dff01 (diff)
parentca47b887f5bb8ad311c4ab7e4c71aace37ba88e9 (diff)
Merge branch 'master' of git://github.com/colings/gallery3
Diffstat (limited to 'modules/gallery/controllers/quick.php')
-rw-r--r--modules/gallery/controllers/quick.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/quick.php b/modules/gallery/controllers/quick.php
index 17abc39f..da4768fd 100644
--- a/modules/gallery/controllers/quick.php
+++ b/modules/gallery/controllers/quick.php
@@ -38,7 +38,7 @@ class Quick_Controller extends Controller {
if ($degrees) {
$tmpfile = tempnam(TMPPATH, "rotate") . "." .
pathinfo($item->file_path(), PATHINFO_EXTENSION);
- gallery_graphics::rotate($item->file_path(), $tmpfile, array("degrees" => $degrees));
+ gallery_graphics::rotate($item->file_path(), $tmpfile, array("degrees" => $degrees), $item);
$item->set_data_file($tmpfile);
$item->save();
unlink($tmpfile);