openrat-cms

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

commit a2d99ce407fbc962c83fc05425c625422f99e701
parent 50c5e9ee8dd124eb32af52133b0c65ad75cc2648
Author: Jan Dankert <develop@jandankert.de>
Date:   Fri, 15 Nov 2019 00:54:20 +0100

Fix self link to cms.

Diffstat:
modules/cms-core/model/Value.class.php | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/modules/cms-core/model/Value.class.php b/modules/cms-core/model/Value.class.php @@ -1491,12 +1491,7 @@ SQL $inhalt = substr($inhalt,0,-4); $db = db(); - $params = array('dbid' =>$db->id, - 'objectid' =>$this->page->objectid, - 'modelid' =>$this->page->modelid, - 'languageid'=>$this->page->languageid, - 'elementid' =>$this->element->elementid ); - $inhalt .= '/'.basename(Html::url('page',null,$this->page->objectid,$params)); + $inhalt .= '/#/page/'.$this->page->objectid; break; case 'lastch_user_username': $user = $this->page->lastchangeUser;