Double call of PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::stringFromColumnIndex(0)) resulting in `PHP Warning: A non-numeric value encountered"

This commit is contained in:
MarkBaker 2016-08-05 00:22:19 +01:00
parent 2291748a83
commit 30bb53ebf8
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
**************************************************************************************
* PHPExcel
* PHPSpreadsheet
*
* Copyright (c) 2006 - 2014 PHPExcel
* Copyright (c) 2006 PHPOffice
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
* @copyright Copyright (c) 2006 PHPOffice (https://github.com/PHPOffice/PhpSpreadsheet)
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
* @version ##VERSION##, ##DATE##
**************************************************************************************

View File

@ -371,7 +371,7 @@ class Excel5 extends BaseWriter implements IWriter
$spContainer->setOPT(0x03BF, 0x000A0000); // Group Shape -> fPrint
// set coordinates and offsets, client anchor
$endCoordinates = \PHPExcel\Cell::stringFromColumnIndex(\PHPExcel\Cell::stringFromColumnIndex($iInc - 1));
$endCoordinates = \PHPExcel\Cell::stringFromColumnIndex($iInc - 1);
$endCoordinates .= $rangeBounds[0][1] + 1;
$spContainer->setStartCoordinates($cDrawing);