Upgrade to 3.6.3
This commit is contained in:
@@ -20,13 +20,11 @@ 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 Page extends ModelWithContent
|
||||
{
|
||||
const CLASS_ALIAS = 'page';
|
||||
|
||||
use PageActions;
|
||||
use PageSiblings;
|
||||
use HasChildren;
|
||||
@@ -34,6 +32,8 @@ class Page extends ModelWithContent
|
||||
use HasMethods;
|
||||
use HasSiblings;
|
||||
|
||||
public const CLASS_ALIAS = 'page';
|
||||
|
||||
/**
|
||||
* All registered page methods
|
||||
*
|
||||
@@ -1338,7 +1338,7 @@ class Page extends ModelWithContent
|
||||
'mediaUrl' => $this->mediaUrl(),
|
||||
'mediaRoot' => $this->mediaRoot(),
|
||||
'num' => $this->num(),
|
||||
'parent' => $this->parent() ? $this->parent()->id(): null,
|
||||
'parent' => $this->parent() ? $this->parent()->id() : null,
|
||||
'slug' => $this->slug(),
|
||||
'template' => $this->template(),
|
||||
'translations' => $this->translations()->toArray(),
|
||||
|
Reference in New Issue
Block a user