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:
authorninadsp <ninadsp16289@gmail.com>2010-08-13 22:04:10 +0400
committerninadsp <ninadsp16289@gmail.com>2010-08-13 22:04:10 +0400
commit6a3d0a7f58a78fbe7e8d4bceea7f649dc031fe25 (patch)
treed45641447c439fbb886b1877c5f78c8789e53d41 /db_search.php
parent880e4665c3d87570188ba831cd14ec9475980fb7 (diff)
Added documentation, fixed some minor bugs/typos
Diffstat (limited to 'db_search.php')
-rwxr-xr-xdb_search.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/db_search.php b/db_search.php
index 50e8880384..208b3d2840 100755
--- a/db_search.php
+++ b/db_search.php
@@ -111,7 +111,7 @@ if (empty($_REQUEST['field_str']) || ! is_string($_REQUEST['field_str'])) {
}
/**
- * Displays top links
+ * Displays top links if we are not in an Ajax request
*/
$sub_part = '';
@@ -275,6 +275,9 @@ if (isset($_REQUEST['submit_search'])) {
}
} // end 1.
+/**
+ * If we are in an Ajax request, we need to exit after displaying all the HTML
+ */
if($GLOBALS['is_ajax_request'] == true) {
exit;
}