Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / inquiry / customer_inquiry.php
index 123066edebe6f1ab6f09e5443368e8807a286c95..34b06832e0e292aeb95642afdd25c5ceb3faf95c 100644 (file)
@@ -19,7 +19,7 @@ include_once($path_to_root . "/sales/includes/sales_db.inc");
 include_once($path_to_root . "/reporting/includes/reporting.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();