Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / manage / recurrent_invoices.php
index bce635a8086782452ccb8d855fbbd62b53fbbc3f..8a08a6d1c63d652b209346124afe2d2e18e1489a 100644 (file)
@@ -16,7 +16,7 @@ include($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/sales/includes/sales_db.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 600);
 if (user_use_date_picker())
        $js .= get_js_date_picker();