From 5d4070ef9ddf7d99e3230137839c649b99f1687d Mon Sep 17 00:00:00 2001 From: heuzef Date: Wed, 3 Sep 2014 16:21:29 +0200 Subject: [PATCH] fix bug gift --- medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml | 2 +- play/action.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml index 0fc75dd..c5e7d60 100644 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml @@ -16,6 +16,6 @@ default ... - 0 + 10 diff --git a/play/action.php b/play/action.php index b2d5f54..2edb18e 100755 --- a/play/action.php +++ b/play/action.php @@ -110,7 +110,7 @@ if (isset($_GET['edit_notes'])) { $xml->entry->notes = $_POST["notes"]; } -if (isset($_GET['gift_plus']) && $xml->entry->gift<99999) ) { +if (isset($_GET['gift_plus']) && $xml->entry->gift<99999) { $xml->entry->gift++; }