notice fixes

This commit is contained in:
Igor Barkov [iwork] 2019-02-15 17:29:39 +02:00
parent f2d18665a5
commit dee330ccee

View File

@ -48,7 +48,7 @@ if ($returningItemId) {
if ($_GET['set']) {
if (isset($_GET['set'])) {
if (!$_POST['count'] || !is_numeric($_POST['count']) || $_POST['count'] <= 0) {
$_POST['count'] = 1;
@ -219,7 +219,7 @@ switch ($shopCategoryTypeNumber) {
<TD><!--Рюкзак-->
<TABLE BORDER=0 WIDTH=100% CELLSPACING="1" CELLPADDING="2" BGCOLOR="#A5A5A5">
<?php
if ($_REQUEST['max']) {
if (isset($_GET['max'])) {
$data = db::c()->query('SELECT * FROM `inventory` WHERE `dressed` = 0 AND `name` LIKE "?S" AND `setsale` > 0 ORDER BY `setsale` ASC', $_REQUEST['max'] . '%');
while ($row = $data->fetch_assoc()) {