Skip to content

Commit 8333d69

Browse files
committed
Revert "Issue PHPOffice/PHPExcel#1091 fix"
This reverts commit 239ca05.
1 parent 239ca05 commit 8333d69

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/PhpSpreadsheet/Calculation/LookupRef.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,10 +611,6 @@ public static function MATCH($lookup_value, $lookup_array, $match_type = 1)
611611
*/
612612
public static function INDEX($arrayValues, $rowNum = 0, $columnNum = 0)
613613
{
614-
while(is_array($rowNum)) {
615-
$rowNum = current($rowNum);
616-
}
617-
618614
if (($rowNum < 0) || ($columnNum < 0)) {
619615
return Functions::VALUE();
620616
}

0 commit comments

Comments
 (0)