fixed wrong sql key

This commit is contained in:
Mike Schwörer 2018-11-12 15:11:26 +01:00
parent 71f003dd66
commit faf5207478
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -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'