openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit e49867a5e449befdeeeb5a28b2643ca320694427
parent 44db5acbaed8eef95890a9ca46a897f8c68759d8
Author: Jan Dankert <develop@jandankert.de>
Date:   Sat, 13 Mar 2021 22:54:42 +0100

Fix: ValueContext must implement getObjectId()

Diffstat:
Mmodules/cms/generator/ValueContext.class.php | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/cms/generator/ValueContext.class.php b/modules/cms/generator/ValueContext.class.php @@ -30,4 +30,9 @@ class ValueContext extends BaseContext public function isPublic() { return $this->scheme == Producer::SCHEME_PUBLIC; } + + public function getObjectId() + { + return $this->pageContext->getObjectId(); + } } \ No newline at end of file