[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.97, 1.98
Ivan,,,
ivan at wavetail.420.am
Fri Oct 23 19:04:43 PDT 2009
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi login.html, 1.7, 1.8 selfservice.cgi, 1.43, 1.44 signup.html, 1.19, 1.20 decline.html, 1.1, 1.2 success.html, 1.3, 1.4 signup.cgi, 1.14, 1.15
- Next message: [freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.95.2.2, 1.95.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv31166/FS/FS/ClientAPI
Modified Files:
MyAccount.pm
Log Message:
remove an inadvertant debugging call left in, allow an agentnum to be specfied for non-logged in situations, RT#6166
Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- MyAccount.pm 24 Oct 2009 00:34:34 -0000 1.97
+++ MyAccount.pm 24 Oct 2009 02:04:41 -0000 1.98
@@ -74,8 +74,10 @@
$agentnum = $sth->fetchrow_arrayref->[0]
or die "no agentnum for custnum $custnum";
+ #} elsif ( $context eq 'agent' ) {
+ } elsif ( $p->{'agentnum'} =~ /^(\d+)$/ ) {
+ $agentnum = $1;
}
- # elsif ( $context eq 'agent' ) {
my $conf = new FS::Conf;
@@ -94,6 +96,7 @@
if $DEBUG > 1;
$skin_info_cache_agent = {
+ 'agentnum' => $agentnum,
( map { $_ => scalar( $conf->config($_, $agentnum) ) }
qw( company_name ) ),
( map { $_ => scalar( $conf->config("selfservice-$_", $agentnum ) ) }
@@ -106,9 +109,6 @@
}
- use Data::Dumper;
- warn Dumper($skin_info_cache_agent);
-
#{ %$skin_info_cache_agent };
$skin_info_cache_agent;
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi login.html, 1.7, 1.8 selfservice.cgi, 1.43, 1.44 signup.html, 1.19, 1.20 decline.html, 1.1, 1.2 success.html, 1.3, 1.4 signup.cgi, 1.14, 1.15
- Next message: [freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.95.2.2, 1.95.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list