Skip to content

Commit

Permalink
Make sure $nojs isn't undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Hagenbuch committed Sep 6, 2015
1 parent cfeb951 commit c0ea13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansel/img/upload.php
Expand Up @@ -48,6 +48,7 @@
'return_target' => $return_url->toString(true, true)));
if (!$prefs->getValue('force_old_uploader', 'false')) {
$view->run();
$nojs = '';
} else {
$nojs = $view->handleLegacy();
}
Expand Down

0 comments on commit c0ea13b

Please sign in to comment.