@@ -178,7 +178,9 @@ |
||
178 | 178 | public function Items($searchCriteria = array()) |
179 | 179 | { |
180 | 180 | $request = ($this->request) ? $this->request : $this->parentController->getRequest(); |
181 | - if(empty($searchCriteria)) $searchCriteria = $request->requestVars(); |
|
181 | + if(empty($searchCriteria)) { |
|
182 | + $searchCriteria = $request->requestVars(); |
|
183 | + } |
|
182 | 184 | |
183 | 185 | //if category filters are selected on Locator |
184 | 186 | $filterAny = array(); |