@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | ->setWordsAsString($this->keywords) |
| 188 | 188 | ->getLinks() |
| 189 | 189 | ; |
| 190 | - if($results->count() === 1) { |
|
| 190 | + if ($results->count() === 1) { |
|
| 191 | 191 | $result = $results->first(); |
| 192 | 192 | $this->redirect($result->CMSEditLink); |
| 193 | 193 | return null; |
@@ -220,12 +220,12 @@ discard block |
||
| 220 | 220 | { |
| 221 | 221 | // Accessing the session |
| 222 | 222 | $session = $this->getRequest()->getSession(); |
| 223 | - if($this->quickSearchType) { |
|
| 223 | + if ($this->quickSearchType) { |
|
| 224 | 224 | $session->set('QuickSearchType', $this->quickSearchType); |
| 225 | 225 | } else { |
| 226 | 226 | $this->quickSearchType = $session->get('QuickSearchType'); |
| 227 | 227 | } |
| 228 | - if(!$this->quickSearchType) { |
|
| 228 | + if (!$this->quickSearchType) { |
|
| 229 | 229 | $this->quickSearchType = $this->Config()->get('default_quick_search_type'); |
| 230 | 230 | } |
| 231 | 231 | return (string) $this->quickSearchType; |