Changeset 1941

Show
Ignore:
Timestamp:
05/18/06 18:29:52 (3 years ago)
Author:
qldrob
Message:

Unreported bug where more than 10 trunks caused macro-hangup to loop around to the top

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.1/amp_conf/htdocs/admin/modules/core/functions.inc.php

    r1899 r1941  
    296296                        foreach($outrts as $outrt) { 
    297297                                $ext->addInclude('outbound-allroutes',$outrt['application']); 
    298                                 $sql = "SELECT * FROM extensions where context = '".$outrt['application']."' ORDER BY extension, priority ASC"; 
     298                                $sql = "SELECT * FROM extensions where context = '".$outrt['application']."' ORDER BY extension, CAST(priority AS UNSIGNED) ASC"; 
    299299                                $thisrt = sql($sql,"getAll",DB_FETCHMODE_ASSOC); 
    300300                                foreach($thisrt as $exten) { 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads