Closed kcardona closed 11 years ago
Hello,
version 2.0.4
usedratecard is not set if the call fail,
the default value of usedratecard is an empty string line 75 file Class.RateEngine.php
$this->usedratecard = '';<<< line 75
$K = $this->usedratecard; << line 1018 in Class.RateEngine.php , set $K to an empty string
and all reference to $this->ratecard_obj[$K] doesn't work
I add this lines in the file Class.RateEngine.php in the line 1492 to fix the problem
$this->usedratecard = $k; $A2B->debug(DEBUG, $agi, FILE, LINE, "[USEDRATECARD - FAIL =" . $this->usedratecard . "]");
Regards Karel
Thanks for the report, I think the following commit fix this issue.
Hello,
version 2.0.4
usedratecard is not set if the call fail,
the default value of usedratecard is an empty string line 75 file Class.RateEngine.php
$this->usedratecard = '';<<< line 75
$K = $this->usedratecard; << line 1018 in Class.RateEngine.php , set $K to an empty string
and all reference to $this->ratecard_obj[$K] doesn't work
I add this lines in the file Class.RateEngine.php in the line 1492 to fix the problem
$this->usedratecard = $k; $A2B->debug(DEBUG, $agi, FILE, LINE, "[USEDRATECARD - FAIL =" . $this->usedratecard . "]");
Regards Karel