cleanup2 according to Apmuthu's list.
[fa-stable.git] / sales / allocations / customer_allocation_main.php
index 5908ee5770354320253b5203a8dd99a5d65d49b2..766f6312635e604a67da0cf813168a3e55c7068d 100644 (file)
@@ -17,7 +17,7 @@ include_once($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/sales/includes/sales_ui.inc");
 include_once($path_to_root . "/sales/includes/sales_db.inc");
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 page(_($help_context = "Customer Allocations"), false, false, "", $js);
 
@@ -115,4 +115,3 @@ display_db_pager($table);
 end_form();
 
 end_page();
-?>
\ No newline at end of file