Procházet zdrojové kódy

fix action gift

master
heuzef před 10 roky
rodič
revize
38d4c05fc6
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      play/action.php

+ 2
- 2
play/action.php Zobrazit soubor

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


Načítá se…
Zrušit
Uložit