From 8c6ffa2a3e6fa9e4e53bed731e5f1d0f2b7241c4 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 26 Nov 2008 00:30:25 +0000 Subject: [PATCH] don't set a Session-Timeout if the rate is 0 --- FS/FS/ClientAPI/PrepaidPhone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0