[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm,1.36,1.37
Ivan,,,
ivan at wavetail.420.am
Mon Jul 11 02:50:00 PDT 2005
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail:/tmp/cvs-serv13367
Modified Files:
MyAccount.pm
Log Message:
bug fix for error message on session expiration from Randall Lucas <rlucas at tercent.net>, thanks!
Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- MyAccount.pm 8 Jun 2005 09:03:05 -0000 1.36
+++ MyAccount.pm 11 Jul 2005 09:49:58 -0000 1.37
@@ -778,7 +778,7 @@
$context = 'customer';
$session = _cache->get($p->{'session_id'})
- or return { 'error' => "Can't resume session" }; #better error message
+ or return ( 'error' => "Can't resume session" ); #better error message
$custnum = $session->{'custnum'};
} elsif ( $p->{'agent_session_id'} ) {
@@ -788,11 +788,11 @@
'namespace' => 'FS::ClientAPI::Agent',
} );
$session = $agent_cache->get($p->{'agent_session_id'})
- or return { 'error' => "Can't resume session" }; #better error message
+ or return ( 'error' => "Can't resume session" ); #better error message
$custnum = $p->{'custnum'};
} else {
- return { 'error' => "Can't resume session" }; #better error message
+ return ( 'error' => "Can't resume session" ); #better error message
}
($context, $session, $custnum);
More information about the freeside-commits
mailing list