From: Louis Jeckel Date: Thu, 17 Sep 2020 08:37:02 +0000 (+0200) Subject: Update HasMetaTags.php X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bcdf8a379c563bcfb39785da1a3ce8dfb187fdce;p=psq.git Update HasMetaTags.php --- diff --git a/app/Models/HasMetaTags.php b/app/Models/HasMetaTags.php index a0e2331..05cecf9 100644 --- a/app/Models/HasMetaTags.php +++ b/app/Models/HasMetaTags.php @@ -19,7 +19,7 @@ trait HasMetaTags protected function getMetaTitle(): string { - return $this->title; + return $this->title ?? ''; } /** @@ -33,7 +33,7 @@ trait HasMetaTags protected function getMetaDescription(): string { - return $this->chapo; + return $this->chapo ?? ''; } protected function getMetaImage(): string