diff --git a/lam/lib/modules/quota.inc b/lam/lib/modules/quota.inc index 8c53e3e49..c9c08e58c 100644 --- a/lam/lib/modules/quota.inc +++ b/lam/lib/modules/quota.inc @@ -448,7 +448,7 @@ class quota extends baseModule { return (int) $quotaInput; } if (str_ends_with($quotaInput, 'K')) { - return (int) ((int) substr($quotaInput, 0, -1)); + return (int) substr($quotaInput, 0, -1); } if (str_ends_with($quotaInput, 'M')) { return 1024 * ((int) substr($quotaInput, 0, -1));