瀏覽代碼

fix action gift

master
heuzef 10 年之前
父節點
當前提交
38d4c05fc6
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      play/action.php

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


Loading…
取消
儲存