Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / purchasing / view / view_supp_credit.php
index bad33fce7a1ace03a5198ccb8f9e496382bf4f8c..ab0313541bf38e1da1a01921d71927edd64f75da 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/purchasing/includes/purchasing_ui.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 page(_($help_context = "View Supplier Credit Note"), true, false, "", $js);
 
@@ -77,4 +77,3 @@ if (!$voided)
 
 end_page(true, false, false, ST_SUPPCREDIT, $trans_no);
 
-?>
\ No newline at end of file