* Fixed some coding style inconcistencies

* make the latest patch from Robin PHP3 compatible
This commit is contained in:
Loïc Chapeaux
2001-08-15 09:53:22 +00:00
parent 1a7c1cb690
commit bd303c2b02
2 changed files with 100 additions and 96 deletions

View File

@@ -82,8 +82,10 @@ if ($sql_query != '') {
$pieces = split_sql_file($sql_query, ';');
$pieces_count = count($pieces);
for($i = 0; $i < $pieces_count; $i++)
$pieces[$i] = expand_sql_query($pieces[$i]);
// Handles table aliases
for ($i = 0; $i < $pieces_count; $i++) {
$pieces[$i] = expand_sql_query($pieces[$i]);
}
// Only one query to run
if ($pieces_count == 1 && !empty($pieces[0]) && $view_bookmark == 0) {