Browse Source

fix bug gift

master
heuzef 10 years ago
parent
commit
5d4070ef9d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml
  2. +1
    -1
      play/action.php

+ 1
- 1
medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml View File

@@ -16,6 +16,6 @@
</ecos>
<trans>default</trans>
<notes>...</notes>
<gift>0</gift>
<gift>10</gift>
</entry>
</response>

+ 1
- 1
play/action.php View File

@@ -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++;
}


Loading…
Cancel
Save