login page: fix a warning if return is unset

master
Andrew Dolgov 4 years ago
parent 5c1f9f31bd
commit ecb94ec23d

@ -85,7 +85,7 @@
</script>
<?php $return = urlencode($_REQUEST['return'] ? $_REQUEST['return'] : with_trailing_slash(Config::make_self_url())) ?>
<?php $return = urlencode(!empty($_REQUEST['return']) ? $_REQUEST['return'] : with_trailing_slash(Config::make_self_url())) ?>
<div class="container">

Loading…
Cancel
Save