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-07-21 10:38:13 -0400
commitec89eff224d19292e5bca37dba77090544617986 (patch)
tree4c4491245b3f285ecf3f21c7bef1a562ccd4f40d /FS/FS/ClientAPI
parent2e85dc2ca08f3f381e475e1be7df822768ed421f (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} ) {