Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / customer_delivery.php
index fb7efe0a0394ab124b1c10d1c9f9314ecfc8bca0..9cbd252710e176255427609d416ac0eb8118edc7 100644 (file)
@@ -26,7 +26,7 @@ include_once($path_to_root . "/reporting/includes/reporting.inc");
 include_once($path_to_root . "/taxes/tax_calc.inc");
 
 $js = "";
-if ($use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js .= get_js_open_window(900, 500);
 }
 if (user_use_date_picker()) {