Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / view / view_dispatch.php
index b71738d572b5c394b03a7608104e4a586c1fd5a6..d8a7cc95e54b21f6163d699bdd7115fffd30811b 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/sales/includes/sales_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);
 page(_($help_context = "View Sales Dispatch"), true, false, "", $js);