Changeset 1941
- Timestamp:
- 05/18/06 18:29:52 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.1/amp_conf/htdocs/admin/modules/core/functions.inc.php
r1899 r1941 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) {
