Ver código fonte

fix bug gift

master
heuzef 10 anos atrás
pai
commit
5d4070ef9d
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml
  2. +1
    -1
      play/action.php

+ 1
- 1
medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml Ver arquivo

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

+ 1
- 1
play/action.php Ver arquivo

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


Carregando…
Cancelar
Salvar