Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / inventory / inquiry / stock_movements.php
index 892b6c6476d351cb16a47384f26ca9947cf1f521..c368d223ce0914d35e5024d3ee7c2f4c30e35a3b 100644 (file)
@@ -19,7 +19,7 @@ include_once($path_to_root . "/sales/includes/sales_db.inc");
 
 include_once($path_to_root . "/includes/ui.inc");
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();