Upgrade to 3.6.3

This commit is contained in:
Bastian Allgeier
2022-03-22 10:43:28 +01:00
parent 15da803094
commit f732a03566
275 changed files with 1961 additions and 1126 deletions

View File

@@ -17,18 +17,18 @@ use Kirby\Toolkit\A;
* @package Kirby Cms
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://getkirby.com/license
*/
class Site extends ModelWithContent
{
const CLASS_ALIAS = 'site';
use SiteActions;
use HasChildren;
use HasFiles;
use HasMethods;
public const CLASS_ALIAS = 'site';
/**
* The SiteBlueprint object
*
@@ -572,10 +572,10 @@ class Site extends ModelWithContent
return [
'children' => $this->children()->keys(),
'content' => $this->content()->toArray(),
'errorPage' => $this->errorPage() ? $this->errorPage()->id(): false,
'errorPage' => $this->errorPage() ? $this->errorPage()->id() : false,
'files' => $this->files()->keys(),
'homePage' => $this->homePage() ? $this->homePage()->id(): false,
'page' => $this->page() ? $this->page()->id(): false,
'homePage' => $this->homePage() ? $this->homePage()->id() : false,
'page' => $this->page() ? $this->page()->id() : false,
'title' => $this->title()->value(),
'url' => $this->url(),
];