We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5669885 commit cac97ebCopy full SHA for cac97eb
1 file changed
src/AbraFlexi/RO.php
@@ -2137,7 +2137,7 @@ public function getExternalID($want = null)
2137
{
2138
$ids = (array) $this->getExternalIDs();
2139
2140
- return \array_key_exists($want, $ids) ? $ids[$want] : current($ids);
+ return $want !== null && \array_key_exists($want, $ids) ? $ids[$want] : current($ids);
2141
}
2142
2143
/**
0 commit comments