Skip to content
Snippets Groups Projects
Commit 644b529f authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by Thomas Hackl
Browse files

fixes #3374

Closes #3374

Merge request !2307
parent b3f05d05
No related branches found
No related tags found
No related merge requests found
...@@ -91,10 +91,13 @@ class FooterNavigation extends Navigation ...@@ -91,10 +91,13 @@ class FooterNavigation extends Navigation
$url_parts = explode('/', $url); $url_parts = explode('/', $url);
$detail_id = $url_parts[4]; $detail_id = $url_parts[4];
$si = new Siteinfo(); $si = new Siteinfo();
$isdraft = $si->get_detail_draft_status($detail_id); try {
if ($isdraft) { $isdraft = $si->get_detail_draft_status($detail_id);
return ''; if ($isdraft) {
} return '';
}
} catch (PDOException $e) {}
} }
return $url; return $url;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment