Cleanup and preparing for XLS extension in class.mail.inc.
[fa-stable.git] / purchasing / view / view_supp_credit.php
index cdaeb3fe8514c4eac48d8e40e3dde7d04eafa6ac..0025962ae93406b4132e79769db814b88cc0172f 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