Release 2.4.1
[fa-stable.git] / sales / allocations / customer_allocate.php
index f269ca4b1a5f674bc70eb916825df83c21f9edb5..ab3a30013ab7cf11ea2c7d3dd960379d14e52321 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/sales/includes/sales_db.inc");
 //include_once($path_to_root . "/sales/includes/ui/cust_alloc_ui.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 
 add_js_file('allocate.js');
@@ -126,4 +126,3 @@ if (isset($_SESSION['alloc']))
 
 end_page();
 
-?>
\ No newline at end of file