Additional access control related ui helpers added: check_edit_access, access_post...
[fa-stable.git] / sales / credit_note_entry.php
index 7ef6ea7435801fa3502251f92f00e720e8c8758d..f32e2268d8bfc8e39b1ffec802d8ef48fab97838 100644 (file)
@@ -26,7 +26,7 @@ include_once($path_to_root . "/sales/includes/ui/sales_order_ui.inc");
 include_once($path_to_root . "/reporting/includes/reporting.inc");
 
 $js = "";
-if ($use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js .= get_js_open_window(900, 500);
 }
 if (user_use_date_picker()) {
@@ -288,4 +288,3 @@ echo "</tr></table></center>";
 end_form();
 end_page();
 
-?>