Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / sales / view / view_receipt.php
index a96f2f7b1ca7870b81a5658395efe0415ec38834..df4299750e4d8021b4774db19049e3556b434891 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/includes/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, 600);
 
 page(_($help_context = "View Customer Payment"), true, false, "", $js);
@@ -61,4 +61,3 @@ if (!$voided)
 }
 
 end_page(true, false, false, ST_CUSTPAYMENT, $trans_id);
-?>
\ No newline at end of file