There was an error while loading. Please reload this page.
1 parent 8b47f45 commit d7ab182Copy full SHA for d7ab182
1 file changed
apps/theming/lib/ThemingDefaults.php
@@ -151,9 +151,13 @@ public function getPrivacyUrl() {
151
152
public function getShortFooter() {
153
$slogan = $this->getSlogan();
154
- $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' .
155
- ' rel="noreferrer noopener">' .$this->getEntity() . '</a>'.
156
- ($slogan !== '' ? ' – ' . $slogan : '');
+ if ($this->getBaseUrl() !== '') {
+ $footer = '<a href="' . $this->getBaseUrl() . '" target="_blank"' .
+ ' rel="noreferrer noopener">' . $this->getEntity() . '</a>';
157
+ } else {
158
+ $footer = $this->getEntity();
159
+ }
160
+ $footer .= ($slogan !== '' ? ' – ' . $slogan : '');
161
162
$links = [
163
[
0 commit comments