From 46077c33f883849985acdd72a11b8fa3d4635914 Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Sun, 13 Jan 2019 00:17:14 +0100 Subject: [PATCH] Remove useless casts Signed-off-by: Hugues Peccatte --- libraries/classes/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Import.php b/libraries/classes/Import.php index df2de9e00a..7d4701b59d 100644 --- a/libraries/classes/Import.php +++ b/libraries/classes/Import.php @@ -467,7 +467,7 @@ class Import if ($num > 26) { $div = (int) ($num / 26); - $remain = (int) ($num % 26); + $remain = $num % 26; // subtract 1 of divided value in case the modulus is 0, // this is necessary because A-Z has no 'zero'