Cleanup and preparing for XLS extension in class.mail.inc.
[fa-stable.git] / sales / customer_invoice.php
index 09d405eb415493cff7b6c09e33ada35ae7538f97..7f46f16968f61aea38bf28f7c13bd701422fcae5 100644 (file)
@@ -27,7 +27,7 @@ include_once($path_to_root . "/taxes/tax_calc.inc");
 include_once($path_to_root . "/admin/db/shipping_db.inc");
 
 $js = "";
-if ($use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js .= get_js_open_window(900, 500);
 }
 if (user_use_date_picker()) {
@@ -694,4 +694,3 @@ end_form();
 
 end_page();
 
-?>