Changeset 10723 for modules/branches/2.9/core
- Timestamp:
- 12/23/10 14:10:55 (2 years ago)
- Files:
-
- modules/branches/2.9/core/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.9/core/functions.inc.php
r10720 r10723 3534 3534 3535 3535 if (empty($existing)) { 3536 //Strip <> just to be on the safe side otherwise this is not deleteable from the GUI 3537 $invalidDIDChars = array('<','>'); 3538 $extension = str_replace($invalidDIDChars,"",$extension); 3539 $cidnum = str_replace($invalidDIDChars,"",$cidnum); 3540 3536 3541 $destination= ($target) ? $target : ${$goto0.'0'}; 3537 3542 $sql="INSERT INTO incoming (cidnum,extension,destination,privacyman,pmmaxretries,pmminlength,alertinfo, ringing, mohclass, description, grppre, delay_answer, pricid) values ('$cidnum','$extension','$destination','$privacyman','$pmmaxretries','$pmminlength','$alertinfo', '$ringing', '$mohclass', '$description', '$grppre', '$delay_answer', '$pricid')";
