From d14e5a74f8f45ae40b96baa0d57471c7d576e3eb Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Tue, 31 May 2022 08:22:25 +0200 Subject: [PATCH] Fix export limit size calculation Signed-off-by: Liviu-Mihail Concioiu --- libraries/classes/Export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Export.php b/libraries/classes/Export.php index b98fff2eb0..30804905b1 100644 --- a/libraries/classes/Export.php +++ b/libraries/classes/Export.php @@ -797,7 +797,7 @@ class Export $size = (int) $this->dbi->fetchValue($query); //Converting the size to MB - $size /= 1024 / 1024; + $size /= 1024 * 1024; if ($size > $tableSize) { continue; }