1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:15:55 +00:00

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

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