Added extra arg to gallery_graphics calls and updated users

This commit is contained in:
colings
2011-02-23 20:31:07 -06:00
parent 68edb2454d
commit ca47b887f5
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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);