Ticket #2167: freepbx_core_mysql3.diff
| File freepbx_core_mysql3.diff, 0.9 kB (added by julianjm, 5 years ago) |
|---|
-
functions.inc.php
old new 453 453 $ext->add('outbound-allroutes', 'foo', '', new ext_noop('bar')); 454 454 foreach($outrts as $outrt) { 455 455 $ext->addInclude('outbound-allroutes',$outrt['application']); 456 $sql = "SELECT * FROM extensions where context = '".$outrt['application']."' ORDER BY extension, CAST(priority AS UNSIGNED)ASC";456 $sql = "SELECT * FROM extensions where context = '".$outrt['application']."' ORDER BY extension, priority+0 ASC"; 457 457 $thisrt = sql($sql,"getAll",DB_FETCHMODE_ASSOC); 458 458 foreach($thisrt as $exten) { 459 459 //if emergencyroute, then set channel var
