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:
parent
f6bb4e8f64
commit
1450ce17a7
3 changed files with 17 additions and 7 deletions
|
|
@ -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? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue