diff options
author | mamouneyya <mamoun.diraneyya@gmail.com> | 2011-03-26 13:15:12 +0200 |
---|---|---|
committer | mamouneyya <mamoun.diraneyya@gmail.com> | 2011-03-26 13:15:12 +0200 |
commit | 9c784a740a6fe5849c465e0ebd2e1a197d281bf9 (patch) | |
tree | 312cbe8b1a1b1a499521e5cdd6045770efeda5e0 /modules/gallery/controllers/quick.php | |
parent | 5a966e40831da1d113b126dafb9a2112b637211b (diff) | |
parent | e4d4a89a1bd54164fb62d95ac62a44957d124e68 (diff) |
Merge remote-tracking branch 'gallery3/master'
Diffstat (limited to 'modules/gallery/controllers/quick.php')
-rw-r--r-- | modules/gallery/controllers/quick.php | 2 |
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); |