diff --git a/shop.php b/shop.php index 402f803..6b0f8f7 100644 --- a/shop.php +++ b/shop.php @@ -10,7 +10,7 @@ if (isset($_GET['callback']) && $_GET['callback'] === 'processing') { $shop = $config['shop']; $shop_list = $config['shop_offers']; -if (!empty($_POST['buy'])) { +if (!empty($_POST['buy']) && $_SESSION['shop_session'] == $_POST['session']) { $time = time(); $player_points = (int)$user_znote_data['points']; $cid = (int)$user_data['id']; @@ -73,7 +73,7 @@ if ($shop['enabled']) {

Shop Offers

= $buy['points']) { ?>You have points. (Buy points).
+
Buy Points system disabled.

Sorry, this functionality is disabled.

'; include 'layout/overall/footer.php'; ?>