X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FClientAPI%2FMasonComponent.pm;h=3a4bfe133c89b2e7c5600770ea288c3fc3fcc662;hb=5f93c15e79a4c64cfda070f3c331cb73cf449cfc;hp=d09d6da46b9652c51f72803cf91e0aef01ce0b5c;hpb=afe6bb2515f2bde29a74c056221fd154dc10001f;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} ) {