login page: fix a warning if return is unset

This commit is contained in:
Andrew Dolgov 2021-03-05 15:35:48 +03:00
parent 5c1f9f31bd
commit ecb94ec23d
1 changed files with 1 additions and 1 deletions

View File

@ -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">