mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fixed XML error, if no type given
This commit is contained in:
parent
8b3b5c84fc
commit
5452c9fca2
@ -307,6 +307,7 @@ class etemplate_widget
|
||||
|
||||
if(!$xml)
|
||||
{
|
||||
if (empty($type)) $type = 'widget';
|
||||
$xml = "<$type id='$id'/>";
|
||||
}
|
||||
//error_log(__METHOD__."('$type', ..., '$id') using $class_name");
|
||||
|
Loading…
Reference in New Issue
Block a user