summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/hardware_status.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/hardware_status.pm b/FS/FS/hardware_status.pm
index 4836fc5cb..d4edcb1a6 100644
--- a/FS/FS/hardware_status.pm
+++ b/FS/FS/hardware_status.pm
@@ -35,6 +35,7 @@ are currently supported:
=item label - descriptive label
+=item disabled - 'Y' to disable
=back
@@ -98,6 +99,7 @@ sub check {
my $error =
$self->ut_numbern('statusnum')
|| $self->ut_text('label')
+ || $self->ut_enum('disabled', [ '', 'Y' ])
;
return $error if $error;