X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dimensions%2Finquiry%2Fsearch_dimensions.php;h=2d7c8541a9ced0c1645de5ce6cdebb61bdb86871;hb=8ffddf50ffbe93672c769e2cf0501d0f9125e2a0;hp=abca12008aa77ec20ec9e965baffa63fefd2fb52;hpb=1b9351ae81a67726e757eba55895a4f059c7f128;p=fa-stable.git diff --git a/dimensions/inquiry/search_dimensions.php b/dimensions/inquiry/search_dimensions.php index abca1200..2d7c8541 100644 --- a/dimensions/inquiry/search_dimensions.php +++ b/dimensions/inquiry/search_dimensions.php @@ -18,7 +18,7 @@ include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/includes/date_functions.inc"); include_once($path_to_root . "/includes/ui.inc"); $js = ""; -if ($use_popup_windows) +if ($SysPrefs->use_popup_windows) $js .= get_js_open_window(800, 500); if (user_use_date_picker()) $js .= get_js_date_picker(); @@ -122,7 +122,7 @@ function edit_link($row) } $sql = get_sql_for_search_dimensions($dim, $_POST['FromDate'], $_POST['ToDate'], - $_POST['OrderNumber'], $_POST['type_'], $_POST['OpenOnly'], $_POST['OverdueOnly']); + $_POST['OrderNumber'], $_POST['type_'], check_value('OpenOnly'), check_value('OverdueOnly')); $cols = array( _("#") => array('fun'=>'view_link'), @@ -150,4 +150,3 @@ display_db_pager($table); end_form(); end_page(); -?>