diff options
author | ivan <ivan> | 2008-11-26 00:30:25 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-11-26 00:30:25 +0000 |
commit | 8c6ffa2a3e6fa9e4e53bed731e5f1d0f2b7241c4 (patch) | |
tree | 7d82a721255cfe656cbb025ef8cbe94f13dc045c | |
parent | cb3519647ad9a022e14e596e28a5a5eed6afae49 (diff) |
don't set a Session-Timeout if the rate is 0
-rw-r--r-- | FS/FS/ClientAPI/PrepaidPhone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/PrepaidPhone.pm b/FS/FS/ClientAPI/PrepaidPhone.pm index bcde29279..00bc0ffd0 100644 --- a/FS/FS/ClientAPI/PrepaidPhone.pm +++ b/FS/FS/ClientAPI/PrepaidPhone.pm @@ -152,7 +152,7 @@ sub call_time { unless ( $rate_detail->min_charge > 0 ) { #XXX no charge?? return lots of seconds, a default, 0 or what? #return { 'error' => '0 rate for +$rate_countrycode $rate_phonenum; prepaid service not available" }; - $return{'seconds'} = 1800; #half hour?! + #customer wants no default for now# $return{'seconds'} = 1800; #half hour?! return \%return; } |