fix: access to private property
This commit is contained in:
parent
069643a6e3
commit
19eb3cc0d3
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ class Page
|
||||||
|
|
||||||
if (
|
if (
|
||||||
in_array($_SERVER['HTTP_HOST'], $wishthis_hosts, true)
|
in_array($_SERVER['HTTP_HOST'], $wishthis_hosts, true)
|
||||||
&& (true === $user->advertisements || $CrawlerDetect->isCrawler())
|
&& (true === $user->getAdvertisements() || $CrawlerDetect->isCrawler())
|
||||||
) {
|
) {
|
||||||
?>
|
?>
|
||||||
<script async
|
<script async
|
||||||
|
|
Loading…
Reference in a new issue