summaryrefslogtreecommitdiff
path: root/adodb-xmlschema03.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2015-04-20 17:06:23 +0200
committerDamien Regad <dregad@mantisbt.org>2015-04-20 17:06:23 +0200
commit57acc915b54aa411337f4d175defff04c89067e3 (patch)
treec878e537f1cbbc4f893664ca2d0148be0ced6770 /adodb-xmlschema03.inc.php
parent39e33babaed8416bbb726015f014aa25d0e9c5b0 (diff)
downloadadodb-57acc915b54aa411337f4d175defff04c89067e3.tar.gz
adodb-57acc915b54aa411337f4d175defff04c89067e3.tar.bz2
adodb-57acc915b54aa411337f4d175defff04c89067e3.zip
Follow-up fix for #92: remove extra line
Diffstat (limited to 'adodb-xmlschema03.inc.php')
-rw-r--r--adodb-xmlschema03.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/adodb-xmlschema03.inc.php b/adodb-xmlschema03.inc.php
index 865ad3a0..37e9e6b5 100644
--- a/adodb-xmlschema03.inc.php
+++ b/adodb-xmlschema03.inc.php
@@ -2106,8 +2106,10 @@ class adoSchema {
. '<schema version="' . $this->schemaVersion . '">' . "\n";
if( is_array( $tables = $this->db->MetaTables( 'TABLES' ,false ,($prefix) ? str_replace('_','\_',$prefix).'%' : '') ) ) {
foreach( $tables as $table ) {
- $schema .= $indent.'<table name="'.htmlentities( $stripprefix ? str_replace($prefix, '', $table): $table ) . '">' . "\n";
- $schema .= $indent . '<table name="' . htmlentities( $table ) . '">' . "\n";
+ $schema .= $indent
+ . '<table name="'
+ . htmlentities( $stripprefix ? str_replace($prefix, '', $table) : $table )
+ . '">' . "\n";
// grab details from database
$rs = $this->db->Execute( 'SELECT * FROM ' . $table . ' WHERE -1' );