Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / manufacturing / view / wo_costs_view.php
index 9c63eb6c44fe96aa32e8cb1382cf47de7ac88f9c..ff474a97a8b84596a22071cd8c3fb4dcae078078 100644 (file)
@@ -15,7 +15,7 @@ $path_to_root = "../..";
 include_once($path_to_root . "/includes/session.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 page(_($help_context = "View Work Order Costs"), true, false, "", $js);