X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FClientAPI%2FMasonComponent.pm;h=3a4bfe133c89b2e7c5600770ea288c3fc3fcc662;hb=31f1e1bd302bd88d97d56b20dffad5c5f2388261;hp=d09d6da46b9652c51f72803cf91e0aef01ce0b5c;hpb=43d43d3101e7f555422bd48276f22b1bebbf6010;p=freeside.git diff --git a/FS/FS/ClientAPI/MasonComponent.pm b/FS/FS/ClientAPI/MasonComponent.pm index d09d6da46..3a4bfe133 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} ) {