From: ivan Date: Wed, 26 Nov 2008 00:30:25 +0000 (+0000) Subject: don't set a Session-Timeout if the rate is 0 X-Git-Tag: root_of_webpay_support~227 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=8c6ffa2a3e6fa9e4e53bed731e5f1d0f2b7241c4 don't set a Session-Timeout if the rate is 0 --- 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; }