Skip to content

Commit

Permalink
fix for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed May 14, 2018
1 parent b576571 commit 4678a8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function resolveEmbeddedReferences($string)
if ($count) {
foreach ($matches[0] as $referenceIdentifier) {
$reference = $this->getReferenceValue(substr($referenceIdentifier, 1, -1));
if (is_string($reference)) {
if (!is_array($reference)) {
$string = str_replace($referenceIdentifier, $reference, $string);
}
}
Expand Down

0 comments on commit 4678a8b

Please sign in to comment.