Ещё больше Undefined index fix

This commit is contained in:
Igor Barkov [iwork] 2018-12-11 15:35:23 +02:00
parent 41ab00a644
commit 65128ac9d6

View File

@ -2098,27 +2098,13 @@ if (input::get('edit')) {
<SCRIPT src="/js/main_096_ru2.js"></SCRIPT> <SCRIPT src="/js/main_096_ru2.js"></SCRIPT>
<? <?php # Вот что это за херня?!
if (input::get('is_open') && !is_numeric(input::get('is_open'))) unset($_GET['is_open']);
if ($_GET['is_open'] && !is_numeric($_GET['is_open'])) { if (input::get('bar') == 'param') $_SESSION['param'] = input::get('is_open');
unset($_GET['is_open']); if (input::get('bar') == 'oryj') $_SESSION['oryj'] = input::get('is_open');
} if (input::get('bar') == 'modif') $_SESSION['modif'] = input::get('is_open');
if ($_GET['bar'] == 'param') { if (input::get('bar') == 'bron') $_SESSION['bron'] = input::get('is_open');
$_SESSION['param'] = $_GET['is_open']; if (input::get('bar') == 'bonus') $_SESSION['bonus'] = input::get('is_open');
}
if ($_GET['bar'] == 'oryj') {
$_SESSION['oryj'] = $_GET['is_open'];
}
if ($_GET['bar'] == 'modif') {
$_SESSION['modif'] = $_GET['is_open'];
}
if ($_GET['bar'] == 'bron') {
$_SESSION['bron'] = $_GET['is_open'];
}
if ($_GET['bar'] == 'bonus') {
$_SESSION['bonus'] = $_GET['is_open'];
}
?> ?>
<HR> <HR>