summaryrefslogtreecommitdiff
path: root/modules/g2_import
diff options
context:
space:
mode:
authorcolings <colings@example.com>2011-02-23 20:31:07 -0600
committercolings <colings@example.com>2011-02-23 20:31:07 -0600
commitca47b887f5bb8ad311c4ab7e4c71aace37ba88e9 (patch)
tree7881ec380a1d317b572e15ff2b760b348bb21cc2 /modules/g2_import
parent68edb2454dcd2044a82d8e8f8a1b96330e6d3b8c (diff)
Added extra arg to gallery_graphics calls and updated users
Diffstat (limited to 'modules/g2_import')
-rw-r--r--modules/g2_import/helpers/g2_import.php2
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);