mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fix for somehow empty etemplate request content, giving an error when (or after) sending mail
This commit is contained in:
parent
217a2a8a11
commit
672297df94
@ -277,6 +277,11 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
array $knownUids=null, $lastModified=null)
|
||||
{
|
||||
self::$request = etemplate_request::read($exec_id);
|
||||
// fix for somehow empty etemplate request content
|
||||
if (!is_array(self::$request->content))
|
||||
{
|
||||
self::$request->content = array($form_name => array());
|
||||
}
|
||||
self::$response = egw_json_response::get();
|
||||
|
||||
$value = self::get_array(self::$request->content, $form_name, true);
|
||||
|
Loading…
Reference in New Issue
Block a user