mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
set indentstring to '' for var2xml and to "\t" for the rest
This commit is contained in:
parent
290ba0b094
commit
fbd5f81c0e
@ -2,6 +2,7 @@
|
||||
function var2xml($name, $data)
|
||||
{
|
||||
$doc = new xmltool();
|
||||
$doc->indentstring = '';
|
||||
return $doc->import_var($name,$data,True,True);
|
||||
}
|
||||
|
||||
@ -18,7 +19,7 @@
|
||||
/* for nodes */
|
||||
var $attributes = Array();
|
||||
var $comments = Array();
|
||||
var $indentstring = " ";
|
||||
var $indentstring = "\t";
|
||||
|
||||
/* start the class as either a root or a node */
|
||||
function xmltool ($node_type = 'root', $name='')
|
||||
|
Loading…
Reference in New Issue
Block a user