summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-07 05:22:46 +0200
committeradmin <devnull@localhost>2006-10-07 05:22:46 +0200
commit69af5bd5d457468e0b2875c47d06830496679a8f (patch)
tree18ef9a6fee56e9759ceff2006e1f36ee7784d6cd
parentdee8ba233621af79fbf9b529b37a845734843fb8 (diff)
-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)
{