Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / customer_invoice.php
index 588f0f56a652386616ecccc7846b72b3e75f282e..7f46f16968f61aea38bf28f7c13bd701422fcae5 100644 (file)
@@ -27,7 +27,7 @@ include_once($path_to_root . "/taxes/tax_calc.inc");
 include_once($path_to_root . "/admin/db/shipping_db.inc");
 
 $js = "";
-if ($use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js .= get_js_open_window(900, 500);
 }
 if (user_use_date_picker()) {