Update database_transaction_edit.php (#5024)

This commit is contained in:
chansizzle 2020-01-08 13:25:59 -07:00 committed by FusionPBX
parent 8273e17512
commit 6174c4e4dd
1 changed files with 17 additions and 16 deletions

View File

@ -343,6 +343,7 @@
} }
echo "<br />\n"; echo "<br />\n";
echo "<table border='0'>\n"; echo "<table border='0'>\n";
if (is_array($array)) {
foreach($array as $row) { foreach($array as $row) {
if ($row['schema'] !== $previous_schema || $row['row'] !== $previous_row) { if ($row['schema'] !== $previous_schema || $row['row'] !== $previous_row) {
echo "<tr><td colspan='4'>&nbsp;</td></tr>\n"; echo "<tr><td colspan='4'>&nbsp;</td></tr>\n";
@ -360,7 +361,7 @@
$previous_row = $row['row']; $previous_row = $row['row'];
} }
echo "</table>\n"; echo "</table>\n";
}
/* /*
if (is_array($after)) { if (is_array($after)) {
//create the table header //create the table header
@ -422,8 +423,8 @@
echo " </tr>\n"; echo " </tr>\n";
} }
} }
echo "</table>\n";
} }
echo "</table>\n";
//add a few lines at the end //add a few lines at the end
echo "<br />\n"; echo "<br />\n";