From 38d4c05fc6b2b9b38602ff132aebf7132933b5b0 Mon Sep 17 00:00:00 2001 From: heuzef Date: Wed, 3 Sep 2014 16:18:14 +0200 Subject: [PATCH] fix action gift --- play/action.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/play/action.php b/play/action.php index 0768406..b2d5f54 100755 --- a/play/action.php +++ b/play/action.php @@ -110,11 +110,11 @@ if (isset($_GET['edit_notes'])) { $xml->entry->notes = $_POST["notes"]; } -if (isset($_GET['gift_plus']) && $xml->entry->ecos->noire<5) { +if (isset($_GET['gift_plus']) && $xml->entry->gift<99999) ) { $xml->entry->gift++; } -if (isset($_GET['gift_moins']) && $xml->entry->ecos->noire>0) { +if (isset($_GET['gift_moins']) && $xml->entry->gift>0) { $xml->entry->gift--; }