Small fix for status label types

This commit is contained in:
snipe 2016-06-28 12:40:20 -07:00
parent 483bf1b309
commit 6633366b29

View file

@ -51,10 +51,10 @@ class Statuslabel extends Model
return 'pending';
} elseif ($this->archived == 1) {
return 'archived';
} elseif (($this->archived == 0) && ($this->deployable == 0) && ($this->deployable == 0)) {
return 'undeployable';
} else {
} elseif ($this->deployable == 1) {
return 'deployable';
} else {
return 'undeployable';
}
}