From faf52074789d90057e12e436c58fab67dd26f297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 12 Nov 2018 15:11:26 +0100 Subject: [PATCH] fixed wrong sql key --- web/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/upgrade.php b/web/upgrade.php index 3c1dbf5..4bc83f2 100644 --- a/web/upgrade.php +++ b/web/upgrade.php @@ -50,7 +50,7 @@ if ($ispro) 'success' => true, 'user_id' => $user_id, 'user_key' => $new_userkey, - 'quota' => $data['quota'], + 'quota' => $data['quota_today'], 'quota_max'=> Statics::quota_max(true), 'is_pro' => true, 'message' => 'user updated' @@ -69,7 +69,7 @@ else 'success' => true, 'user_id' => $user_id, 'user_key' => $new_userkey, - 'quota' => $data['quota'], + 'quota' => $data['quota_today'], 'quota_max'=> Statics::quota_max(false), 'is_pro' => false, 'message' => 'user updated'