diff options
author | ninadsp <ninadsp16289@gmail.com> | 2010-08-13 22:04:10 +0400 |
---|---|---|
committer | ninadsp <ninadsp16289@gmail.com> | 2010-08-13 22:04:10 +0400 |
commit | 6a3d0a7f58a78fbe7e8d4bceea7f649dc031fe25 (patch) | |
tree | d45641447c439fbb886b1877c5f78c8789e53d41 /db_search.php | |
parent | 880e4665c3d87570188ba831cd14ec9475980fb7 (diff) |
Added documentation, fixed some minor bugs/typos
Diffstat (limited to 'db_search.php')
-rwxr-xr-x | db_search.php | 5 |
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; } |