input class for auto checks

This commit is contained in:
lopar
2018-03-30 22:28:22 +03:00
parent c5b4a369c3
commit b12d9702a9
3 changed files with 20 additions and 1 deletions
+2 -1
View File
@@ -2137,7 +2137,8 @@ if (isset($_GET['edit'])) {
<div id="mZeInventory">
<?php endif; ?>
<?php
if (in_array($_GET['razdel'], [0,1,2,3,4,5])) $_SESSION['razdel'] = $_GET['razdel'];
if (in_array(input::get('razdel'), [0,1,2,3,4,5])) $_SESSION['razdel'] = input::get('razdel');
?>
<table border=0 width=100% cellspacing="0" cellpadding="0" bgcolor="#A5A5A5">
<tr>