mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +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(!$xml)
|
||||||
{
|
{
|
||||||
|
if (empty($type)) $type = 'widget';
|
||||||
$xml = "<$type id='$id'/>";
|
$xml = "<$type id='$id'/>";
|
||||||
}
|
}
|
||||||
//error_log(__METHOD__."('$type', ..., '$id') using $class_name");
|
//error_log(__METHOD__."('$type', ..., '$id') using $class_name");
|
||||||
|
Loading…
Reference in New Issue
Block a user