Unbreak file uploading.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 28 Nov 2015 13:46:13 +0000 (14:46 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 28 Nov 2015 13:46:13 +0000 (14:46 +0100)
perl/Sesse/pr0n/WebDAV.pm

index 84abaca33258cc1287716daa1a78daebf27047d7..fb365e79b1e645bbd6b68156131ae9001579cce4 100644 (file)
@@ -493,7 +493,7 @@ EOF
                                if ($filename !~ /^\.(_|DS_Store)/) {
                                        # FIXME: Ideally we'd want to ensure cache of -1x-1 here as well (for NEFs), but that would
                                        # preclude mipmapping in its current form.
-                                       Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, "nobox", 1, 80, 64, 320, 256);
+                                       Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, 0, 1, 80, 64, 320, 256);
                                }
                                
                                # OK, we got this far, commit