openrat-cms

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

commit 7e9c6b4b4044134645448776de68264a92015281
parent 2723feef6a64f77c80d3a2c8d35b7b57cf6e6e58
Author: Jan Dankert <develop@jandankert.de>
Date:   Sat, 13 Feb 2021 00:41:43 +0100

Fix: f*cking 'boolval()' is only available since PHP 5.5 :/

Diffstat:
Mmodules/cms/model/ModelBase.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/cms/model/ModelBase.class.php b/modules/cms/model/ModelBase.class.php @@ -61,7 +61,7 @@ abstract class ModelBase */ public function isPersistent() { - return boolval( $this->getId() ); + return (bool) $this->getId(); }