Showing
1 changed file
with
2 additions
and
2 deletions
@@ -239,8 +239,8 @@ class SearchController extends AbstractAction | @@ -239,8 +239,8 @@ class SearchController extends AbstractAction | ||
239 | 239 | ||
240 | if ($this->get('query')) { | 240 | if ($this->get('query')) { |
241 | $activity = SearchData::searchKeyActivity($this->get('query')); | 241 | $activity = SearchData::searchKeyActivity($this->get('query')); |
242 | - if ($activity['code'] === 200 && isset($activity['data']) && isset($activity['data']['url'])) { | ||
243 | - $this->go($activity['data']['url']); | 242 | + if ($activity['code'] === 200 && isset($activity['data']) && isset($activity['data']['urlobj']) && isset($activity['data']['urlobj']['appUrl'])) { |
243 | + $this->go($activity['data']['urlobj']['appUrl']); | ||
244 | } | 244 | } |
245 | } | 245 | } |
246 | 246 |
-
Please register or login to post a comment