Additional access control related ui helpers added: check_edit_access, access_post...
[fa-stable.git] / inventory / adjustments.php
index 7d86faa63beaf027740550b214070a792fa7ad7c..0b47fa49532925058791afd10d303d30a96c4c9f 100644 (file)
@@ -21,7 +21,7 @@ include_once($path_to_root . "/includes/data_checks.inc");
 include_once($path_to_root . "/inventory/includes/item_adjustments_ui.inc");
 include_once($path_to_root . "/inventory/includes/inventory_db.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();
@@ -237,4 +237,3 @@ submit_center_last('Process', _("Process Adjustment"), '', 'default');
 end_form();
 end_page();
 
-?>