commit f1a3f120415206c8aa6483dbb5872905ddb476f9
parent 4e95f340cb31db6536aaf9cc165c6f641a688f7e
Author: dankert <devnull@localhost>
Date: Fri, 26 Mar 2010 22:16:16 +0100
In 'default_longtext' alle Zeichen erlauben.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/actionClasses/ElementAction.class.php b/actionClasses/ElementAction.class.php
@@ -591,7 +591,7 @@ class ElementAction extends Action
$this->element->subtype = $this->getRequestVar('subtype');
if ( $this->hasRequestVar('default_longtext'))
- $this->element->defaultText = $this->getRequestVar('default_longtext','text');
+ $this->element->defaultText = $this->getRequestVar('default_longtext',OR_FILTER_RAW);
else
$this->element->defaultText = $this->getRequestVar('default_text',OR_FILTER_ALPHANUM);
$this->element->wiki = in_array('wiki',explode(',',$this->getRequestVar('format')));