From a14a001e6317aceb26c101c69f24fb365358d0b1 Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 23 Mar 2018 23:34:06 +0200 Subject: [PATCH] =?UTF-8?q?=D1=85=D0=BE=D1=82=D1=8C=20=D0=BD=D0=B5=D0=BC?= =?UTF-8?q?=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BF=D1=80=D0=B8=D0=B2=D0=B5=D0=B4?= =?UTF-8?q?=D1=91=D0=BC=20=D0=B2=20=D0=BF=D0=BE=D1=80=D1=8F=D0=B4=D0=BE?= =?UTF-8?q?=D0=BA,=20=D1=87=D1=82=D0=BE=D0=B1=D1=8B=20=D0=BD=D0=B5=20?= =?UTF-8?q?=D1=80=D1=83=D0=B3=D0=B0=D0=BB=D1=81=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module_quest.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/module_quest.php b/module_quest.php index b8f4fb6..01186e9 100644 --- a/module_quest.php +++ b/module_quest.php @@ -7,16 +7,16 @@ include('config.php'); include('functions.php'); include('classes/quests_class.php'); -if ($_GET['end_qst_now']) { - echo $q->endq((int)$_GET['end_qst_now'], 'end', $user); -} +$qEndNow = filter_input(INPUT_GET, 'end_qst_now'); +$qEnd = filter_input(INPUT_GET, 'end_qst'); -if ($_GET['end_qst']) { - echo $q->winqst((int)$_GET['end_qst'], $user); -} +if ($qEndNow) echo $q->endq((int)$_GET['end_qst_now'], 'end', $user); + +if ($qEnd) echo $q->winqst((int)$_GET['end_qst'], $user); $qsee = ''; $qx = 0; +$error = ''; ?> @@ -24,7 +24,7 @@ $qx = 0; 404 - +