summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_utility.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 64d67db41..c2c5f1fe0 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -290,10 +290,10 @@ class CI_DB_utility {
$CI->load->helper('xml');
// Generate the result
- $xml = "<{$root}/>".$newline;
+ $xml = "<{$root}>".$newline;
foreach ($query->result_array() as $row)
{
- $xml .= $tab."<{$element}/>".$newline;
+ $xml .= $tab."<{$element}>".$newline;
foreach ($row as $key => $val)
{