Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / sales / customer_credit_invoice.php
index fcc934bd224d945c98e222a78b82e164072d6599..2b31654aeef630beb912828470aad615deb39e82 100644 (file)
@@ -30,7 +30,7 @@ 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();
 }