Commit af45d4a5 authored by Олег Гиммельшпах's avatar Олег Гиммельшпах

Merge branch 'master' of git.task-on.com:ktask/task-on.com

parents 8765cb68 5307b6cf
...@@ -64,7 +64,7 @@ class Settings extends \common\components\ActiveRecordModel ...@@ -64,7 +64,7 @@ class Settings extends \common\components\ActiveRecordModel
]; ];
} }
public function getValue($code) public static function getValue($code)
{ {
$model = Settings::find()->where(['code' => $code])->one(); $model = Settings::find()->where(['code' => $code])->one();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment