Fixed journal view and journal inquiry (regression).
[fa-stable.git] / gl / gl_bank.php
index b73f1c0ec14717eae6b106ec0e355dac7385a687..b965f1d50aefa0a8e05945d262111153d712bf53 100644 (file)
@@ -25,7 +25,7 @@ include_once($path_to_root . "/gl/includes/gl_ui.inc");
 include_once($path_to_root . "/admin/db/attachments_db.inc");
 
 $js = '';
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();
@@ -404,7 +404,7 @@ start_form();
 
 display_bank_header($_SESSION['pay_items']);
 
-start_table(TABLESTYLE2, "width=90%", 10);
+start_table(TABLESTYLE2, "width='90%'", 10);
 start_row();
 echo "<td>";
 display_gl_items($_SESSION['pay_items']->trans_type==ST_BANKPAYMENT ?
@@ -424,4 +424,3 @@ end_form();
 
 end_page();
 
-?>