Skip to content

Commit

Permalink
Merge branch 'release/v0.1.27'
Browse files Browse the repository at this point in the history
  • Loading branch information
crodas committed Dec 1, 2014
2 parents dee88fe + 6032da7 commit 04e6088
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -10,7 +10,7 @@
"crodas/simple-view-engine": "~0.1"
},
"license": "BSD-4-Clause",
"version": "v0.1.26",
"version": "v0.1.27",
"authors": [
{
"name": "César D. Rodas",
Expand Down
4 changes: 4 additions & 0 deletions lib/ServiceProvider/Action.php
Expand Up @@ -103,6 +103,10 @@ protected function validate_file($value, $type, $property)
protected function eval_variables($value, Array $default)
{
foreach ((array)$value as $id => $val) {
if (!is_scalar($val)) {
$value[$id] = $this->eval_variables($val, $default);
continue;
}
preg_match_all("/%([a-z_][a-z_0-9]*)%/i", $val, $parts);
if (!empty($parts[1])) {
$rvalue = $val;
Expand Down

0 comments on commit 04e6088

Please sign in to comment.