summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-05-01 15:09:18 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-05-01 15:09:18 -0400
commitafe6bb2515f2bde29a74c056221fd154dc10001f (patch)
treefa1439b142649a2cf5ddb263b9250e054f9fef4e /FS/FS/ClientAPI
parent512dd310b4095d5163913acaeb9a6df34d882f6f (diff)
RT#73993 - updated selfservice and ngselfservice to allow for the control of changes packages by agent.
Diffstat (limited to 'FS/FS/ClientAPI')
-rw-r--r--FS/FS/ClientAPI/MasonComponent.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MasonComponent.pm b/FS/FS/ClientAPI/MasonComponent.pm
index 3a4bfe1..d09d6da 100644
--- a/FS/FS/ClientAPI/MasonComponent.pm
+++ b/FS/FS/ClientAPI/MasonComponent.pm
@@ -145,7 +145,7 @@ sub mason_comp {
return { 'error' => 'Illegal component' };
}
- my @args = $packet->{'args'} ? @{ $packet->{'args'} } : ();
+ my @args = $packet->{'args'} ? $packet->{'args'} : ();
if ( $session_comps{$comp} ) {