parent
9515bee8c7
commit
3b4ee3340e
|
|
@ -1,3 +1,6 @@
|
||||||
|
* **Build 305** (2015-10-17)
|
||||||
|
- The Inspector control has been dramatically improved.
|
||||||
|
|
||||||
* **Build 304** (2015-10-09)
|
* **Build 304** (2015-10-09)
|
||||||
- Added new `where` and `whereComponent` methods for querying CMS template properties.
|
- Added new `where` and `whereComponent` methods for querying CMS template properties.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1304,6 +1304,10 @@ class Controller
|
||||||
$routerParameters = $this->router->getParameters();
|
$routerParameters = $this->router->getParameters();
|
||||||
|
|
||||||
foreach ($properties as $propertyName => $propertyValue) {
|
foreach ($properties as $propertyName => $propertyValue) {
|
||||||
|
if (is_array($propertyValue)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$matches = [];
|
$matches = [];
|
||||||
if (preg_match('/^\{\{([^\}]+)\}\}$/', $propertyValue, $matches)) {
|
if (preg_match('/^\{\{([^\}]+)\}\}$/', $propertyValue, $matches)) {
|
||||||
$paramName = trim($matches[1]);
|
$paramName = trim($matches[1]);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue