Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature/7263'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Mar 25, 2015
3 parents bbde888 + 32de5ae + 0738b9c commit b7b2499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processor/Token.php
Expand Up @@ -259,7 +259,7 @@ private function doProcess($value, array $replacements)

if (!is_string($value) && (is_bool($value) || is_numeric($value))) {
$stringVal = (string) $value;
$changedVal = strtr($value, $this->map);
$changedVal = strtr($stringVal, $this->map);

// replace the value only if a string replacement occurred
if ($changedVal !== $stringVal) {
Expand Down

0 comments on commit b7b2499

Please sign in to comment.