Changeset 4387
- Timestamp:
- 07/13/07 10:00:12 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/functions.inc.php
r4225 r4387 1159 1159 // clean and check the did to make sure it is not being used by another extension or in did routing 1160 1160 // 1161 $directdid = preg_replace("/[^0-9._XxNnZz\[\]\- ]/" ,"", trim($directdid));1161 $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-\+]/" ,"", trim($directdid)); 1162 1162 if (trim($directdid) != "") { 1163 1163 $existing=core_did_get($directdid,"",""); … … 1347 1347 1348 1348 $directdid=$vars['directdid']; 1349 $directdid = preg_replace("/[^0-9._XxNnZz\[\]\- ]/" ,"", trim($directdid));1349 $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-\+]/" ,"", trim($directdid)); 1350 1350 // clean and check the did to make sure it is not being used by another extension or in did routing 1351 1351 //
