mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
fix for somehow empty etemplate request content, giving an error when (or after) sending mail
This commit is contained in:
parent
7dbba4dec0
commit
8d8b7b6d4a
@ -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