mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix recursive objects comparsion
This commit is contained in:
parent
feb3f0392a
commit
44eabdc94c
2 changed files with 4 additions and 4 deletions
|
|
@ -188,7 +188,7 @@ class Page
|
|||
);
|
||||
|
||||
// Refresh header by new title if current page is active
|
||||
if ($this == $this->container->tab->getPage())
|
||||
if ($this === $this->container->tab->getPage())
|
||||
{
|
||||
$this->container->browser->header->setTitle(
|
||||
$this->title->getValue(),
|
||||
|
|
@ -222,7 +222,7 @@ class Page
|
|||
);
|
||||
|
||||
// Refresh header by new title if current page is active
|
||||
if ($this == $this->container->tab->getPage())
|
||||
if ($this === $this->container->tab->getPage())
|
||||
{
|
||||
$this->container->browser->header->setTitle(
|
||||
$this->title->getValue(),
|
||||
|
|
@ -255,7 +255,7 @@ class Page
|
|||
);
|
||||
|
||||
// Refresh header by new title if current page is active
|
||||
if ($this == $this->container->tab->getPage())
|
||||
if ($this === $this->container->tab->getPage())
|
||||
{
|
||||
$this->container->browser->header->setTitle(
|
||||
$this->title->getValue()
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ class Content
|
|||
);
|
||||
|
||||
// Refresh header by new title if current page is active
|
||||
if ($this->page == $this->page->container->tab->getPage())
|
||||
if ($this->page === $this->page->container->tab->getPage())
|
||||
{
|
||||
$this->page->container->browser->header->setTitle(
|
||||
$this->page->title->getValue(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue