summaryrefslogtreecommitdiffstats
path: root/lib/Controller/NavigationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/NavigationController.php')
-rw-r--r--lib/Controller/NavigationController.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Controller/NavigationController.php b/lib/Controller/NavigationController.php
index 1bb8a941..c4438e5a 100644
--- a/lib/Controller/NavigationController.php
+++ b/lib/Controller/NavigationController.php
@@ -165,6 +165,12 @@ class NavigationController extends Controller {
}
}
+ try {
+ $this->configService->getSocialUrl();
+ } catch (SocialAppConfigException $e) {
+ $this->configService->setSocialUrl('');
+ }
+
if ($data['serverData']['isAdmin']) {
$checks = $this->checkService->checkDefault();
$data['serverData']['checks'] = $checks;