diff --git a/lib/ajax.php b/lib/ajax.php index 8089d322..d6823768 100644 --- a/lib/ajax.php +++ b/lib/ajax.php @@ -35,6 +35,9 @@ if (isset($_POST['action'])) { if ($action == "newsfeed") { if (isset($_GET['role']) && $_GET['role'] == "customer") { $feed = \Froxlor\Settings::Get("customer.news_feed_url"); + if (empty(trim($feed))) { + $feed = "https://inside.froxlor.org/news/"; + } } else { $feed = "https://inside.froxlor.org/news/"; }