Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / customer_payments.php
index 1f49461c400f3d13f488295e31789b49061eb769..956023bbcf14933bb17609686ca63dc1a1b651f6 100644 (file)
@@ -21,7 +21,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()) {