| @@ 269-276 (lines=8) @@ | ||
| 266 | $filter_search = $app->getUserState('filter.search') ? $app->getUserState('filter.search') : '.'; |
|
| 267 | $filter_origin = $this->getState('filter.origin') ? $this->getState('filter.origin') : '.'; |
|
| 268 | ||
| 269 | if (empty($filter_client)) |
|
| 270 | { |
|
| 271 | $clients = array('site', 'administrator', 'installation'); |
|
| 272 | } |
|
| 273 | else |
|
| 274 | { |
|
| 275 | $clients = array($filter_client); |
|
| 276 | } |
|
| 277 | ||
| 278 | foreach ($clients as $client) |
|
| 279 | { |
|
| @@ 403-410 (lines=8) @@ | ||
| 400 | $filter_origin = $this->getState('filter.origin'); |
|
| 401 | $filter_client = $this->getState('filter.client'); |
|
| 402 | ||
| 403 | if (empty($filter_client)) |
|
| 404 | { |
|
| 405 | $clients = array('site', 'administrator', 'installation'); |
|
| 406 | } |
|
| 407 | else |
|
| 408 | { |
|
| 409 | $clients = array($filter_client); |
|
| 410 | } |
|
| 411 | ||
| 412 | foreach ($clients as $client) |
|
| 413 | { |
|
| @@ 724-731 (lines=8) @@ | ||
| 721 | && (empty($filter_type) || $filter_type == 'override') |
|
| 722 | && preg_match("/$filter_origin/", '_override') && preg_match("/$filter_search/i", 'override')) |
|
| 723 | { |
|
| 724 | if (empty($filter_client)) |
|
| 725 | { |
|
| 726 | $clients = array('site', 'administrator'); |
|
| 727 | } |
|
| 728 | else |
|
| 729 | { |
|
| 730 | $clients = array($filter_client); |
|
| 731 | } |
|
| 732 | ||
| 733 | foreach ($clients as $client) |
|
| 734 | { |
|