Attachments were not moved to new transaction after edition for some document types.
[fa-stable.git] / purchasing / po_receive_items.php
index 57ef24a02f99cead37e69c58b8648c10acd35b7b..30d18878855caa7789370ad250e0464e688b2a73 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/purchasing/includes/purchasing_db.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);
 if (user_use_date_picker())
        $js .= get_js_date_picker();
@@ -336,5 +336,3 @@ end_form();
 
 //--------------------------------------------------------------------------------------------------
 end_page();
-?>
-