Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / credit_note_entry.php
index 0673415bff6d50b6d7bf381d76af6c884749102e..f32e2268d8bfc8e39b1ffec802d8ef48fab97838 100644 (file)
@@ -26,7 +26,7 @@ include_once($path_to_root . "/sales/includes/ui/sales_order_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);
 }
 if (user_use_date_picker()) {