Commit 06a9fe94c3062763ffef96f59602d9d58f4a1e03
1 parent
979545ee
- address
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
common/models/Settings.php
... | ... | @@ -199,7 +199,7 @@ |
199 | 199 | public static function getInstance() |
200 | 200 | { |
201 | 201 | if (empty( self::$instance )) { |
202 | - self::$instance = self::find()->with('languages')->where([ 'id' => 1 ])->one(); | |
202 | + self::$instance = self::find()->with('language')->where([ 'id' => 1 ])->one(); | |
203 | 203 | return self::$instance; |
204 | 204 | } |
205 | 205 | ... | ... |
frontend/views/site/contact.php