@@ 725-727 (lines=3) @@ | ||
722 | } |
|
723 | $f = array_keys($lookup_array); |
|
724 | $firstRow = array_pop($f); |
|
725 | if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) { |
|
726 | return Functions::REF(); |
|
727 | } |
|
728 | $columnKeys = array_keys($lookup_array[$firstRow]); |
|
729 | $returnColumn = $columnKeys[--$index_number]; |
|
730 | $firstColumn = array_shift($columnKeys); |
|
@@ 794-796 (lines=3) @@ | ||
791 | } |
|
792 | $f = array_keys($lookup_array); |
|
793 | $firstRow = array_pop($f); |
|
794 | if ((!is_array($lookup_array[$firstRow])) || ($index_number - 1 > count($lookup_array[$firstRow]))) { |
|
795 | return Functions::REF(); |
|
796 | } |
|
797 | $columnKeys = array_keys($lookup_array[$firstRow]); |
|
798 | $firstkey = $f[0] - 1; |
|
799 | $returnColumn = $firstkey + $index_number; |