From 46fe7cb3a520e7f7dfeaf2e028cd0210df11d853 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Thu, 20 Jul 2023 15:09:47 +0000
Subject: [PATCH] Fixes #6544

---
 interface/web/dashboard/dashlets/limits.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/web/dashboard/dashlets/limits.php b/interface/web/dashboard/dashlets/limits.php
index 50bcad9122..2251fd80c2 100644
--- a/interface/web/dashboard/dashlets/limits.php
+++ b/interface/web/dashboard/dashlets/limits.php
@@ -222,7 +222,7 @@ class dashlet_limits
             $quotaMB = $rec['number'] / 1048576;
         } // Mail quota is in bytes, must be converted to MB
         else {
-            $quotaMB = $rec['number'];
+            $quotaMB = $app->functions->intval($rec['number']);
         }
         return $quotaMB;
     }
-- 
GitLab