Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Alto
/
rkn
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 11fd8319
authored
2021-06-17 12:41:25 +0300
by
san58
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
мелкие правки
1 parent
832bbc13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
models/Host.php
models/Host.php
View file @
11fd831
...
...
@@ -106,8 +106,8 @@ class Host extends \yii\db\ActiveRecord
public
static
function
getFStatus
(
$status
=
false
)
{
$arr
=
[
self
::
STATUS_OFF
=>
'
Yes
'
,
self
::
STATUS_ON
=>
'
No
'
self
::
STATUS_OFF
=>
'
No
'
,
self
::
STATUS_ON
=>
'
Yes
'
];
if
(
is_numeric
(
$status
))
{
if
(
array_key_exists
(
$status
,
$arr
))
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment