diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-09-07 09:25:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 09:25:17 +0200 |
commit | daf3db8de673d566e0c37492861e5ffe4090fd8d (patch) | |
tree | 19f48a44d32dbcaa4f21f13a434467444ef54869 | |
parent | 9959560649a6131838ac7e05b807ae587eacd8ad (diff) | |
parent | 0bccd5a0d9cda570f405e4f6add4d0a27ec3aee4 (diff) | |
download | nextcloud-server-daf3db8de673d566e0c37492861e5ffe4090fd8d.tar.gz nextcloud-server-daf3db8de673d566e0c37492861e5ffe4090fd8d.zip |
Merge pull request #6381 from nextcloud/fix-error-message
Fix "Uninitialized string offset: 0 at \/media\/psf\/stable9\/lib\/pr…
-rw-r--r-- | core/Controller/LoginController.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 47c14cbeaf4..462b9091d4f 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -184,12 +184,12 @@ class LoginController extends Controller { } // OpenGraph Support: http://ogp.me/ - Util::addHeader('meta', ['property' => "og:title", 'content' => Util::sanitizeHTML($this->defaults->getName())]); - Util::addHeader('meta', ['property' => "og:description", 'content' => Util::sanitizeHTML($this->defaults->getSlogan())]); - Util::addHeader('meta', ['property' => "og:site_name", 'content' => Util::sanitizeHTML($this->defaults->getName())]); - Util::addHeader('meta', ['property' => "og:url", 'content' => $this->urlGenerator->getAbsoluteURL('')]); - Util::addHeader('meta', ['property' => "og:type", 'content' => "website"]); - Util::addHeader('meta', ['property' => "og:image", 'content' => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core','favicon-touch.png'))]); + Util::addHeader('meta', ['property' => 'og:title', 'content' => Util::sanitizeHTML($this->defaults->getName())]); + Util::addHeader('meta', ['property' => 'og:description', 'content' => Util::sanitizeHTML($this->defaults->getSlogan())]); + Util::addHeader('meta', ['property' => 'og:site_name', 'content' => Util::sanitizeHTML($this->defaults->getName())]); + Util::addHeader('meta', ['property' => 'og:url', 'content' => $this->urlGenerator->getAbsoluteURL('/')]); + Util::addHeader('meta', ['property' => 'og:type', 'content' => 'website']); + Util::addHeader('meta', ['property' => 'og:image', 'content' => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core','favicon-touch.png'))]); return new TemplateResponse( $this->appName, 'login', $parameters, 'guest' |