Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / sales / inquiry / customer_inquiry.php
index 86b965881f6ef4bdb677a816b2c7c0c9645296f6..4356121379971c0cb2bc167657ab9162d08fb5aa 100644 (file)
@@ -21,7 +21,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 = "Customer Transactions"), isset($_GET['customer_id']), false, "", $js);