Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / purchasing / view / view_supp_payment.php
index ecdee25a20eca4a901600c10212cade155e82900..c9a455f1d614645da9c24bd791175db7021ce94c 100644 (file)
@@ -17,7 +17,7 @@ include($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/purchasing/includes/purchasing_db.inc");
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 page(_($help_context = "View Payment to Supplier"), true, false, "", $js);
 
@@ -91,4 +91,3 @@ if (!$voided)
 }
 
 end_page(true, false, false, ST_SUPPAYMENT, $trans_no);
-?>
\ No newline at end of file