Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / sales / view / view_credit.php
index 7fba678bf433216f497c557c22b04edb9d31884d..d126fd48bdb7a79f5b56115ddcc9d3c1a27be56f 100644 (file)
@@ -19,7 +19,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, 500);
 page(_($help_context = "View Credit Note"), true, false, "", $js);
 
@@ -154,4 +154,3 @@ if (!$voided)
 
 end_page(true, false, false, ST_CUSTCREDIT, $trans_id);
 
-?>
\ No newline at end of file