[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / admin / view_print_transaction.php
index a386cbfdd0ff2bddd9075bf31c51ae96d710fa00..0b4de2d25fde1dc98498a595e96ee33c0148a026 100644 (file)
@@ -22,7 +22,7 @@ include_once($path_to_root . "/admin/db/transactions_db.inc");
 
 include_once($path_to_root . "/reporting/includes/reporting.inc");
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 page(_($help_context = "View or Print Transactions"), false, false, "", $js);