Single quotes encoded before database data insert.
[fa-stable.git] / admin / printers.php
index 227c1d65b6ee706a02115ce34109358c9f832d00..8104f1729beffb9a2a146bf8cabd56fd3c70e97e 100644 (file)
@@ -9,7 +9,7 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 15;
+$page_security = 'SA_PRINTERS';
 $path_to_root="..";
 include($path_to_root . "/includes/session.inc");
 
@@ -142,7 +142,7 @@ text_row(_("Timeout").':', 'tout', null, 5, 5);
 
 end_table(1);
 
-submit_add_or_update_center($selected_id == -1, '', true);
+submit_add_or_update_center($selected_id == -1, '', 'both');
 
 end_form();