system/classes/Validate.php
protected function _matches($fieldData, $array)
    {
        $passes = true;
        foreach ($array as $dataName) {
            $dataValue = $this->getValue($dataName);
            if ($fieldData != $dataValue) {
                $passes = false;
            }
        }
        return $passes;
    }
protected function _matches($fieldData, $array)
    {
        $passes = true;
        foreach ($array as $dataName) {
            $dataValue = $this->getValue($dataName);
            if ($fieldData != $dataValue) {
                $passes = false;
            }
        }
        return $passes;
    }
matches