Commit 11fd8319 by san58

мелкие правки

1 parent 832bbc13
...@@ -106,8 +106,8 @@ class Host extends \yii\db\ActiveRecord ...@@ -106,8 +106,8 @@ class Host extends \yii\db\ActiveRecord
public static function getFStatus($status = false) public static function getFStatus($status = false)
{ {
$arr = [ $arr = [
self::STATUS_OFF => 'Yes', self::STATUS_OFF => 'No',
self::STATUS_ON => 'No' self::STATUS_ON => 'Yes'
]; ];
if (is_numeric($status)) { if (is_numeric($status)) {
if (array_key_exists($status, $arr)) { if (array_key_exists($status, $arr)) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!