diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2011-03-27 11:25:27 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2011-03-27 11:25:27 -0700 |
| commit | 65825c572a0db24036c855de01714c613a979550 (patch) | |
| tree | 5b47f305074f4f7c065d8726dc3581bcddb1b5a0 /modules/g2_import/helpers | |
| parent | c791ae96d5bb28f39b26a0e556e10e636f97436c (diff) | |
| parent | 12e81d081d412a052860f04902b28da4a460c3fa (diff) | |
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/g2_import/helpers')
| -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); |
