| @@ -120,9 +120,9 @@ | ||
| 120 | 120 | return [ |
| 121 | 121 | 'recommendations' => $this->recommendations(), |
| 122 | 122 | 'supportArticles' => $this->supportArticles(), |
| 123 | 123 | // Domains are now cached forever until the site title changes. |
| 124 | - 'domains' => $domains, | |
| 124 | + 'domains' => is_array($domains) ? $domains : [], | |
| 125 | 125 | ]; |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | /** |