openrat-cms

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

commit f65c588b5ef3f1de1e3458f1eb1866e92a174943
parent 12b7df69540f7ba9b3b649f23521000b52f1d6c6
Author: dankert <devnull@localhost>
Date:   Sat, 20 Mar 2010 00:07:19 +0100

Konstanten für Request-Filter benutzen.

Diffstat:
actionClasses/PageelementAction.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actionClasses/PageelementAction.class.php b/actionClasses/PageelementAction.class.php @@ -76,7 +76,7 @@ class PageelementAction extends Action if ( $this->hasRequestVar('elementid') ) { - $this->element = new Element( $this->getRequestVar('elementid','num') ); + $this->element = new Element( $this->getRequestVar('elementid',OR_FILTER_NUMBER) ); Session::setElement( $this->element ); } else