Changeset 5756

Show
Ignore:
Timestamp:
05/29/08 10:14:57 (3 months ago)
Author:
p_lindheimer
Message:

#2828: fix bug allowing fixlocalprefix to return 0 as valid dialstring

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/core/agi-bin/fixlocalprefix

    r5614 r5756  
    233233                        // $rule is a dial rule 
    234234                         
    235                         if ($newnum = fixNumber($rule, $number, $agi)) { 
     235                        if (($newnum = fixNumber($rule, $number, $agi)) !== false) { 
    236236                                $agi->verbose('Dialpattern '.$rule.' matched. '.$number.' -> '.$newnum, 2); 
    237237                                $agi->set_variable("DIAL_NUMBER", $newnum); 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads