make $sql_query persistent (init it, never unset it, always assume it is set)

This commit is contained in:
Sebastian Mendel
2007-04-01 09:26:14 +00:00
parent 0848d0f654
commit b2f3ae5fcf
19 changed files with 46 additions and 58 deletions

View File

@@ -24,7 +24,7 @@ $export_page_title = $strViewDump;
// When we have some query, we need to remove LIMIT from that and possibly
// generate WHERE clause (if we are asked to export specific rows)
if (isset($sql_query)) {
if (! empty($sql_query)) {
// Parse query so we can work with tokens
$parsed_sql = PMA_SQP_parse($sql_query);