Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / manufacturing / view / wo_issue_view.php
index c1fb044fd4b2322b00304091310be20c5a75733d..6787dee678c24d8b62c734b7f6f6b583551a7258 100644 (file)
@@ -14,7 +14,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 Issue"), true, false, "", $js);