[Astpp-commit] SF.net SVN: astpp: [2132] trunk/astpp-refill.agi
Brought to you by:
darrenkw
From: <dar...@us...> - 2007-09-22 06:11:49
|
Revision: 2132 http://astpp.svn.sourceforge.net/astpp/?rev=2132&view=rev Author: darrenkw Date: 2007-09-21 23:11:53 -0700 (Fri, 21 Sep 2007) Log Message: ----------- Resolved an error that would have not allowed calling cards to be refilled. Modified Paths: -------------- trunk/astpp-refill.agi Modified: trunk/astpp-refill.agi =================================================================== --- trunk/astpp-refill.agi 2007-09-22 06:11:10 UTC (rev 2131) +++ trunk/astpp-refill.agi 2007-09-22 06:11:53 UTC (rev 2132) @@ -142,7 +142,7 @@ while ( $destcardinfo->{status} != 1 && $retries < $config->{card_retries} ) { my $cardnum = $AGI->get_data( $sound->{card_to_refill}, $input_timeout ); $destcardinfo = &get_callingcard( $astpp_db, $cardnum, $config ); - $destcardinfo = &get_account( $astpp_db, $cardnum ); + $destcardinfo = &get_account( $astpp_db, $cardnum ) if !$destcardinfo; $cc = 1 if $destcardinfo->{cc}; $AGI->verbose( "ASTPP Number: $cardnum ", $verbosity ) if $config->{debug} == 1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |