openrat-cms

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

commit 3fa40f23a8815d172a56ea118731cd7528a88cfa
parent b8cac8dd72337df80ae092493296fb2d83396d40
Author: Jan Dankert <develop@jandankert.de>
Date:   Wed, 13 Nov 2019 00:10:06 +0100

Fix: Element labels may contain whole charset.

Diffstat:
modules/cms-core/action/ElementAction.class.php | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/cms-core/action/ElementAction.class.php b/modules/cms-core/action/ElementAction.class.php @@ -611,7 +611,7 @@ class ElementAction extends BaseAction /** * Speichern der Element-Eigenschaften. */ - function propPost() + public function propPost() { if ( !$this->userIsAdmin() && $this->getRequestVar('type') == 'code' ) // Code-Elemente fuer Nicht-Administratoren nicht benutzbar @@ -620,8 +620,8 @@ class ElementAction extends BaseAction $this->element->typeid = $this->getRequestId('typeid'); $this->element->name = $this->getRequestVar('name' ,OR_FILTER_ALPHANUM); - $this->element->label= $this->getRequestVar('label' ,OR_FILTER_ALPHANUM); - $this->element->desc = $this->getRequestVar('description','all' ); + $this->element->label= $this->getRequestVar('label' ,OR_FILTER_ALL); + $this->element->desc = $this->getRequestVar('description',OR_FILTER_ALL); $this->element->save();