mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +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
|
// 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->container->browser->header->setTitle(
|
||||||
$this->title->getValue(),
|
$this->title->getValue(),
|
||||||
|
|
@ -222,7 +222,7 @@ class Page
|
||||||
);
|
);
|
||||||
|
|
||||||
// Refresh header by new title if current page is active
|
// 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->container->browser->header->setTitle(
|
||||||
$this->title->getValue(),
|
$this->title->getValue(),
|
||||||
|
|
@ -255,7 +255,7 @@ class Page
|
||||||
);
|
);
|
||||||
|
|
||||||
// Refresh header by new title if current page is active
|
// 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->container->browser->header->setTitle(
|
||||||
$this->title->getValue()
|
$this->title->getValue()
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ class Content
|
||||||
);
|
);
|
||||||
|
|
||||||
// Refresh header by new title if current page is active
|
// 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->container->browser->header->setTitle(
|
||||||
$this->page->title->getValue(),
|
$this->page->title->getValue(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue