diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2011-03-05 15:31:16 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2011-03-05 15:31:16 -0800 |
| commit | 5ff6409a0856134a113c64768e4474e14a6c86ea (patch) | |
| tree | 1d912e12b93c5c000ce504532960edb835a01545 /modules/g2_import | |
| parent | 3e80fe9228bcbfa01bf87da67a47cd3f284dff01 (diff) | |
| parent | ca47b887f5bb8ad311c4ab7e4c71aace37ba88e9 (diff) | |
Merge branch 'master' of git://github.com/colings/gallery3
Diffstat (limited to 'modules/g2_import')
| -rw-r--r-- | modules/g2_import/helpers/g2_import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index 5fd92972..22fb68c6 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -610,7 +610,7 @@ class g2_import_Core { if ($g2_preferred && $g2_preferred instanceof GalleryDerivative) { if (preg_match("/rotate\|(-?\d+)/", $g2_preferred->getDerivativeOperations(), $matches)) { $tmpfile = tempnam(TMPPATH, "rotate"); - gallery_graphics::rotate($item->file_path(), $tmpfile, array("degrees" => $matches[1])); + gallery_graphics::rotate($item->file_path(), $tmpfile, array("degrees" => $matches[1]), $item); $item->set_data_file($tmpfile); $item->save(); unlink($tmpfile); |
