[freeside-commits] freeside/FS/FS/ClientAPI Signup.pm,1.59,1.60
Mark Wells
mark at wavetail.420.am
Tue Sep 28 16:12:54 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv14687/FS/FS/ClientAPI
Modified Files:
Signup.pm
Log Message:
assorted drupal self-service fixes, RT#9380
Index: Signup.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/Signup.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -w -d -r1.59 -r1.60
--- Signup.pm 25 Aug 2010 09:42:04 -0000 1.59
+++ Signup.pm 28 Sep 2010 23:12:51 -0000 1.60
@@ -395,9 +395,14 @@
my $agent_signup_info = { %$signup_info };
delete $agent_signup_info->{agentnum2part_pkg};
$agent_signup_info->{'agent'} = $session->{'agent'};
- $agent_signup_info;
- } else {
- $signup_info;
+ return $agent_signup_info;
+ }
+ elsif ( exists $packet->{'keys'} ) {
+ my @keys = @{ $packet->{'keys'} };
+ return { map { $_ => $signup_info->{$_} } @keys };
+ }
+ else {
+ return $signup_info;
}
}
More information about the freeside-commits
mailing list