* Fixed some coding style inconcistencies
* make the latest patch from Robin PHP3 compatible
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user