]> mj.ucw.cz Git - gallery.git/commitdiff
Gallery2: Bug fix
authorMartin Mares <mj@ucw.cz>
Wed, 26 Dec 2012 19:23:51 +0000 (20:23 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:09 +0000 (21:14 +0100)
gal2/gal-scan

index 88c06cc270e7d7e4f5cbf8c9f973507eda243729..02eb33d56e6140da875fc27a276381aa9bcb7067 100755 (executable)
@@ -85,7 +85,7 @@ foreach my $f (@files) {
                        file => $rel_name,
                        id => $id,
                        orientation => $o,
-                       xfrm => $CF{'ScanDefaultTransform'},
+                       xfrm => $gal->get('ScanDefaultTransform'),
                        title => '',
                };
                print "ori=$o\n";