Change fallback logic

This commit is contained in:
Philipp Holzer
2019-05-30 13:45:39 +02:00
parent 0115329dc6
commit 03ca26f0c4
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -33,7 +33,8 @@ function parse_url_content(App $a)
$url = trim($_GET['url']);
// fallback in case no url is valid
} else {
$a->internalRedirect();
Logger::info('No url given');
exit();
}
if (!empty($_GET['title'])) {