summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2007-11-27 19:34:54 +0000
committerjeff <jeff>2007-11-27 19:34:54 +0000
commitc9e9a041acb5066cfd3c67b94a695df8efc03844 (patch)
tree097b05378bd630b2db202f4da10bedbecdd98afa
parent2da31e8f5d4533c342d13ce7a2eb46ae80ced8da (diff)
slop correction
-rw-r--r--FS/FS/part_export/prizm.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/FS/FS/part_export/prizm.pm b/FS/FS/part_export/prizm.pm
index 438354263..a8ea02a09 100644
--- a/FS/FS/part_export/prizm.pm
+++ b/FS/FS/part_export/prizm.pm
@@ -147,7 +147,7 @@ sub _export_insert {
sprintf("%032X", $svc->authkey),
$svc->cust_svc->cust_pkg->part_pkg->pkg,
$svc->vlan_profile,
- $self->option('ems') == 1,
+ ($self->option('ems') ? 1 : 0 ),
);
return $err_or_som
unless ref($err_or_som);
@@ -201,7 +201,7 @@ sub _export_insert {
'activateNetworkElements',
[ $element ],
1,
- $self->option('ems') == 1,
+ ( $self->option('ems') ? 1 : 0 ),
);
return $err_or_som
@@ -314,13 +314,13 @@ sub _export_replace {
sub _export_suspend {
my( $self, $svc ) = ( shift, shift );
- my $ems = $self->option('ems') == 1;
+ my $ems = $self->option('ems') ? 1 : 0;
$self->queue_statuschange('suspendNetworkElements', [], $svc, 1, $ems);
}
sub _export_unsuspend {
my( $self, $svc ) = ( shift, shift );
- my $ems = $self->option('ems') == 1;
+ my $ems = $self->option('ems') ? 1 : 0;
$self->queue_statuschange('activateNetworkElements', [], $svc, 1, $ems);
}