|
@@ -402,7 +402,7 @@ |
|
|
block discarded – undo |
|
402
|
402
|
$string = $this->parameters[$matches[1]]; |
|
403
|
403
|
} |
|
404
|
404
|
} else { |
|
405
|
|
- $string = preg_replace_callback('/%([0-9A-Za-z._-]+)%/', function ($matches) { |
|
|
405
|
+ $string = preg_replace_callback('/%([0-9A-Za-z._-]+)%/', function($matches) { |
|
406
|
406
|
if (isset($this->parameters[$matches[1]]) && !in_array(gettype($this->parameters[$matches[1]]), ['object', 'array'])) { |
|
407
|
407
|
return $this->parameters[$matches[1]]; |
|
408
|
408
|
} else { |
Please login to merge, or discard this patch.