Ticket #4522: core-functions.inc.php.patch

File core-functions.inc.php.patch, 485 bytes (added by ianf, 2 years ago)
  • functions.inc.php

    old new  
    57825782    $dids = core_did_list('extension'); 
    57835783    $did_count = 0; 
    57845784    foreach ($dids as $did) { 
    5785       $did_dest = split('/,/',$did['destination']); 
     5785      $did_dest = preg_split('/,/',$did['destination']); 
    57865786      if (isset($did_dest[1]) && $did_dest[1] == $extdisplay) { 
    57875787 
    57885788        $did_title = ($did['description'] != '') ? $did['description'] : _("DID / CID");