Fixed false warning during upgrade process in debug mode.
[fa-stable.git] / admin / attachments.php
index 8f517e8aafc46b0a6f6a272e17b90dd9804cd586..773ac80bd34a8450c9aacb0cb2ac64156990116c 100644 (file)
@@ -144,7 +144,7 @@ if ($Mode == 'RESET')
 
 function viewing_controls()
 {
-    start_form(false, true);
+    start_form();
 
     start_table("class='tablestyle_noborder'");
 
@@ -239,7 +239,7 @@ end_table(1);
 if (isset($_POST['filterType']))
        hidden('filterType', $_POST['filterType']);
 
-submit_add_or_update_center($selected_id == -1, '', true);
+submit_add_or_update_center($selected_id == -1, '', 'both');
 
 end_form();