From: ivan Date: Mon, 21 Nov 2011 03:19:17 +0000 (+0000) Subject: fix 'Can't call method svcdb without a package or object reference' when ordering... X-Git-Tag: freeside_2_3_1~143 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5af515ac6bdc6ff88860c618207660eac48c276a fix 'Can't call method svcdb without a package or object reference' when ordering an additional package from self-service --- diff --git a/FS/FS/ClientAPI/MasonComponent.pm b/FS/FS/ClientAPI/MasonComponent.pm index 20b4e5bdb..37cf7ef20 100644 --- a/FS/FS/ClientAPI/MasonComponent.pm +++ b/FS/FS/ClientAPI/MasonComponent.pm @@ -74,6 +74,7 @@ my %session_callbacks = ( my %args = @$argsref; $args{part_pkg} = \@part_pkg; + $args{first_svc} = \@first_svc; @$argsref = ( %args ); return ''; #no error