Skip to content

Commit

Permalink
Only hadle the legacy uploader if we explicitly request it.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 20, 2015
1 parent 2d848de commit 564e4a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansel/img/upload.php
Expand Up @@ -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")
Expand Down

0 comments on commit 564e4a9

Please sign in to comment.