projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb35196
)
don't set a Session-Timeout if the rate is 0
author
ivan
<ivan>
Wed, 26 Nov 2008 00:30:25 +0000
(
00:30
+0000)
committer
ivan
<ivan>
Wed, 26 Nov 2008 00:30:25 +0000
(
00:30
+0000)
FS/FS/ClientAPI/PrepaidPhone.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/PrepaidPhone.pm
b/FS/FS/ClientAPI/PrepaidPhone.pm
index
bcde292
..
00bc0ff
100644
(file)
--- 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;
}