Author: nathangray
New Revision: 32734
URL: http://www.egroupware.org/viewvc/egroupware?rev=32734&view=rev
Log:
Cleanup export file a little by ignoring empty attributes with key 0
Modified:
trunk/sitemgr/inc/class.sitemgr_export_xml.inc.php
Modified: trunk/sitemgr/inc/class.sitemgr_export_xml.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/sitemgr/inc/class.sitemgr_export_xml.inc.php?rev=32734&r1=32733&r2=32734&view=diff
— trunk/sitemgr/inc/class.sitemgr_export_xml.inc.php (original)
+++ trunk/sitemgr/inc/class.sitemgr_export_xml.inc.php Thu Oct 28 22:00:43 2010
@@ -164,6 +164,8 @@
xmlwriter_write_element($this->writer, ‘area’, $area);
}
xmlwriter_end_element($this->writer);
-
} else { -
throw new egw_exception($content_areas); } $this->common->cats->setcurrentcats();
@@ -320,6 +322,10 @@
if($block->arguments) {
$arguments = array_diff($arguments, $block->arguments);
}
-
if(array_key_exists(0, $arguments) && !$arguments[0]) { -
// Not sure where this comes from, but it's not in the DB -
unset($arguments[0]); -
} if($arguments) { xmlwriter_start_element($this->writer, 'arguments');
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs