Changeset 1942
- Timestamp:
- 05/18/06 18:30:16 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/modules/core/functions.inc.php
r1899 r1942 296 296 foreach($outrts as $outrt) { 297 297 $ext->addInclude('outbound-allroutes',$outrt['application']); 298 $sql = "SELECT * FROM extensions where context = '".$outrt['application']."' ORDER BY extension, priorityASC";298 $sql = "SELECT * FROM extensions where context = '".$outrt['application']."' ORDER BY extension, CAST(priority AS UNSIGNED) ASC"; 299 299 $thisrt = sql($sql,"getAll",DB_FETCHMODE_ASSOC); 300 300 foreach($thisrt as $exten) {
