A fix to my last bugfix about table aliases.

This commit is contained in:
Robin Johnson
2001-08-12 02:06:20 +00:00
parent 4745aa3bdc
commit c8e110a40b

View File

@@ -1566,6 +1566,8 @@ var errorMsg2 = '<?php echo(str_replace('\'', '\\\'', $GLOBALS['strNotValidNumbe
function expand_sql_query($sql)
{ $sql = trim($sql);
$arr = explode(" ",$sql);
if(strtoupper($arr[0]) != "SELECT")
return $sql;
$start_table_ref = FALSE;
$end_table_ref = FALSE;