* Build 305

Fix bug when property values are array
This commit is contained in:
Samuel Georges 2015-10-17 14:52:50 +11:00
parent 9515bee8c7
commit 3b4ee3340e
3 changed files with 7 additions and 1235 deletions

View File

@ -1,3 +1,6 @@
* **Build 305** (2015-10-17)
- The Inspector control has been dramatically improved.
* **Build 304** (2015-10-09)
- Added new `where` and `whereComponent` methods for querying CMS template properties.

View File

@ -1304,6 +1304,10 @@ class Controller
$routerParameters = $this->router->getParameters();
foreach ($properties as $propertyName => $propertyValue) {
if (is_array($propertyValue)) {
continue;
}
$matches = [];
if (preg_match('/^\{\{([^\}]+)\}\}$/', $propertyValue, $matches)) {
$paramName = trim($matches[1]);

File diff suppressed because it is too large Load Diff