mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02: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…
x
Reference in New Issue
Block a user