From 38bcd10ab77a3f2f6450cfb68aa335c2e2367ac6 Mon Sep 17 00:00:00 2001 From: Wallace Andrade Date: Tue, 2 Jan 2018 20:10:30 -0200 Subject: [PATCH] Bug fix --- Classes/PHPExcel/Cell.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/PHPExcel/Cell.php b/Classes/PHPExcel/Cell.php index c99a3c8b1..b3de421e7 100644 --- a/Classes/PHPExcel/Cell.php +++ b/Classes/PHPExcel/Cell.php @@ -836,6 +836,7 @@ public static function stringFromColumnIndex($pColumnIndex = 0) // caching using a static within the method is faster than a class static, // though it's additional memory overhead static $_indexCache = array(); + $pColumnIndex = (int) $pColumnIndex; if (!isset($_indexCache[$pColumnIndex])) { // Determine column string