summaryrefslogtreecommitdiff
path: root/FS
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 17:15:59 -0400
commit43d43d3101e7f555422bd48276f22b1bebbf6010 (patch)
tree6ad1e648a57607802eeb4a46f4cffe41c0aadf4c /FS
parenta941bc2ebde67e4bb0be5d6516cf1b09c092e8a1 (diff)
RT#73993 - updated selfservice and ngselfservice to allow for the control of changes packages by agent.
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/ClientAPI/MasonComponent.pm2
-rw-r--r--FS/FS/Conf.pm1
2 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MasonComponent.pm b/FS/FS/ClientAPI/MasonComponent.pm
index 3a4bfe133..d09d6da46 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} ) {
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 1fe11a0e3..c7dbd0b58 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -5129,6 +5129,7 @@ and customer address. Include units.',
'Change billing address',
'Change service address',
'Change payment information',
+ 'Change packages',
'Change password(s)',
'Logout',
],