From 564e4a96bfad85afa7b4ee932a3dc52de2fad559 Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Wed, 18 Mar 2015 14:27:46 -0400 Subject: [PATCH] Only hadle the legacy uploader if we explicitly request it. --- ansel/img/upload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansel/img/upload.php b/ansel/img/upload.php index ed1ffe318f0..35aabfd0475 100644 --- a/ansel/img/upload.php +++ b/ansel/img/upload.php @@ -48,8 +48,9 @@ 'return_target' => $return_url->toString(true, true))); if (!$prefs->getValue('force_old_uploader', 'false')) { $view->run(); +} else { + $nojs = $view->handleLegacy(); } -$nojs = $view->handleLegacy(); $page_output->header(array( 'title' => _("Add Photo")