openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f354027e29e527f95c6cdfa14c2f52a2ceffce32
parent faf0e2b34a3ec6038669ddd3396ce3b215cb3402
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 14 Aug 2018 22:13:03 +0200

Rekursion vermeiden.... :-O

Diffstat:
modules/cms-core/model/Page.class.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/cms-core/model/Page.class.php b/modules/cms-core/model/Page.class.php @@ -409,7 +409,7 @@ class Page extends BaseObject else { $format = config('publish','format'); - $format = str_replace('{filename}',$this->filename(),$format ); + $format = str_replace('{filename}',parent::filename(),$format ); if ( !$this->withLanguage || $this->content_negotiation && config('publish','negotiation','page_negotiate_language' ) ) { @@ -461,7 +461,7 @@ class Page extends BaseObject else { $format = config('publish','format'); - $format = str_replace('{filename}',$this->filename(),$format ); + $format = str_replace('{filename}',parent::filename(),$format ); if ( !$this->withLanguage || $this->content_negotiation && config('publish','negotiation','page_negotiate_language' ) ) {