1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 09:54:03 +00:00

og:type overriding

This commit is contained in:
Samuel Štancl 2022-03-23 19:26:59 +01:00
parent f6bb4e8f64
commit 1450ce17a7
3 changed files with 17 additions and 7 deletions

View file

@ -204,7 +204,7 @@ class SEOManager
/** Has a specific tag been set? */
public function hasRawTag(string $key): bool
{
return array_key_exists($key, $this->tags);
return isset($this->tags[$key]) && ($this->tags[$key] !== null);
}
/** Has a specific meta tag been set? */