@@ 764-771 (lines=8) @@ | ||
761 | } |
|
762 | } |
|
763 | ||
764 | if ($rowNumber !== false) { |
|
765 | if ((!$not_exact_match) && ($rowValue != $lookup_value)) { |
|
766 | // if an exact match is required, we have what we need to return an appropriate response |
|
767 | return Functions::NA(); |
|
768 | } |
|
769 | // otherwise return the appropriate value |
|
770 | return $lookup_array[$rowNumber][$returnColumn]; |
|
771 | } |
|
772 | ||
773 | return Functions::NA(); |
|
774 | } |
|
@@ 829-836 (lines=8) @@ | ||
826 | $rowValue = $rowData; |
|
827 | } |
|
828 | ||
829 | if ($rowNumber !== false) { |
|
830 | if ((!$not_exact_match) && ($rowValue != $lookup_value)) { |
|
831 | // if an exact match is required, we have what we need to return an appropriate response |
|
832 | return Functions::NA(); |
|
833 | } |
|
834 | // otherwise return the appropriate value |
|
835 | return $lookup_array[$returnColumn][$rowNumber]; |
|
836 | } |
|
837 | ||
838 | return Functions::NA(); |
|
839 | } |