Skip to content
Snippets Groups Projects
Commit ad627bc8 authored by Demian Katz's avatar Demian Katz
Browse files

Style fix.

parent 82a5eba4
No related merge requests found
...@@ -263,7 +263,8 @@ class NoILS extends AbstractBase implements TranslatorAwareInterface ...@@ -263,7 +263,8 @@ class NoILS extends AbstractBase implements TranslatorAwareInterface
// ID prefix, strip it off! // ID prefix, strip it off!
$idPrefix = $this->getIdPrefix(); $idPrefix = $this->getIdPrefix();
if (isset($result[0]['id']) && strlen($idPrefix) if (isset($result[0]['id']) && strlen($idPrefix)
&& $idPrefix === substr($result[0]['id'], 0, strlen($idPrefix))) { && $idPrefix === substr($result[0]['id'], 0, strlen($idPrefix))
) {
$result[0]['id'] = substr($result[0]['id'], strlen($idPrefix)); $result[0]['id'] = substr($result[0]['id'], strlen($idPrefix));
} }
return empty($result) ? [] : $result; return empty($result) ? [] : $result;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment