aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/mine.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mine.inc b/inc/mine.inc
index aea04ad..4293243 100644
--- a/inc/mine.inc
+++ b/inc/mine.inc
@@ -8,7 +8,7 @@ function withdrawMine() {
$amount = intval($_POST["amount"]);
if($amount == 0) return;
$_SESSION["mine"]["gold"] += $amount;
- echo $_SESSION["mine"]["gold"];
+ echo json_encode($_SESSION["mine"]["gold"]);
}
function sendMine() {