Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / customer_credit_invoice.php
index e87113ffa5c6aa850c1094ca6e0fa0d5f40c6fe0..b64a57a07aa27d372748434b9a9dc54a948abae5 100644 (file)
@@ -26,7 +26,7 @@ include_once($path_to_root . "/sales/includes/sales_ui.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);
 }