fix: access to private property

This commit is contained in:
grandeljay 2023-09-08 09:19:07 +02:00
parent 069643a6e3
commit 19eb3cc0d3

View file

@ -399,7 +399,7 @@ class Page
if (
in_array($_SERVER['HTTP_HOST'], $wishthis_hosts, true)
&& (true === $user->advertisements || $CrawlerDetect->isCrawler())
&& (true === $user->getAdvertisements() || $CrawlerDetect->isCrawler())
) {
?>
<script async