Ticket #5546: patch.diff

File patch.diff, 0.7 kB (added by sr377, 1 year ago)
  • functions.inc.php

    old new  
    10791079    if (function_exists('ivr_get_details')) { 
    10801080      $results['context'] = "ivr-".$config['ivr_id']; 
    10811081      $arr = ivr_get_details($config['ivr_id']); 
    1082       if( isset($arr['announcement_id']) && $arr['announcement_id'] != '') { 
    1083         $periodic = recordings_get_file($arr['announcement_id']); 
     1082      if( isset($arr['announcement']) && $arr['announcement'] != '') { 
     1083        $periodic = recordings_get_file($arr['announcement']); 
    10841084        // We need to strip off all but the first sound file of any compound sound files 
    10851085        // 
    10861086        $periodic_arr = explode("&", $periodic);