Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / inquiry / po_search_completed.php
index 196de84e295c1424630927ddd1c61fe0c3adb079..31c774263c967f2a834a326f8fa21cbe02699bbc 100644 (file)
@@ -19,7 +19,7 @@ include_once($path_to_root . "/reporting/includes/reporting.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Search Purchase Orders"), false, false, "", $js);