Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 13:26:14 +0400
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 13:26:14 +0400
commitb2f3ae5fcfdd8aa881c7abf20ffccdfc583a518a (patch)
tree651e3e136e5fe5c6f9de5ddd0aa1440c92b7a6dd /tbl_export.php
parent0848d0f654d08a5e2f04fd9ab7862825d8b35d45 (diff)
make $sql_query persistent (init it, never unset it, always assume it is set)
Diffstat (limited to 'tbl_export.php')
-rw-r--r--tbl_export.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_export.php b/tbl_export.php
index c9df7caa5b..dd651859ff 100644
--- a/tbl_export.php
+++ b/tbl_export.php
@@ -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);