Closed linuxoid closed 4 years ago
I guess $page->isSystemPage() was meant to show if the page is a Dashboard page, and if so, it's not actually what it is, it should be $page->isAdminArea().
$page->isSystemPage()
$page->isAdminArea()
https://documentation.concrete5.org/api/8.5.2/Concrete/Core/Page/Page.html#method_isSystemPage vs https://documentation.concrete5.org/api/8.5.2/Concrete/Core/Page/Page.html#method_isAdminArea
Thanks for the heads-up. $page->isAdminArea() is added: 0e34140
I guess
$page->isSystemPage()
was meant to show if the page is a Dashboard page, and if so, it's not actually what it is, it should be$page->isAdminArea()
.https://documentation.concrete5.org/api/8.5.2/Concrete/Core/Page/Page.html#method_isSystemPage vs https://documentation.concrete5.org/api/8.5.2/Concrete/Core/Page/Page.html#method_isAdminArea