mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 13:58:40 +01:00
making unvalidated content available to application
This commit is contained in:
parent
6e65165660
commit
007fd09515
@ -349,6 +349,13 @@ class Etemplate extends Etemplate\Widget\Template
|
||||
return $sel_options;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unvalidated content, use with caution!
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
static public $contentUnvalidated;
|
||||
|
||||
/**
|
||||
* Process via Ajax submitted content
|
||||
*
|
||||
@ -388,7 +395,7 @@ class Etemplate extends Etemplate\Widget\Template
|
||||
'cont' => &self::$request->content,
|
||||
);
|
||||
$template->run('validate', array('', $expand, $_content, &$validated), true); // $respect_disabled=true: do NOT validate disabled widgets and children
|
||||
|
||||
self::$contentUnvalidated = $_content;
|
||||
if ($no_validation)
|
||||
{
|
||||
self::$validation_errors = array();
|
||||
|
Loading…
Reference in New Issue
Block a user