Changeset 8100 for modules

Show
Ignore:
Timestamp:
08/23/09 18:20:12 (4 years ago)
Author:
p_lindheimer
Message:

fixes #3780 undefined variables

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/findmefollow/functions.inc.php

    r7623 r8100  
    316316    // 
    317317    $changed=0; 
     318    if (!isset($results['pre_ring'])) { 
     319      $results['pre_ring'] = ''; 
     320    } 
     321    if (!isset($results['grptime'])) { 
     322      $results['grptime'] = ''; 
     323    } 
     324    if (!isset($results['grplist'])) { 
     325      $results['grplist'] = ''; 
     326    } 
     327    if (!isset($results['needsconf'])) { 
     328      $results['needsconf'] = ''; 
     329    } 
    318330    if (($astdb_prering != $results['pre_ring']) && ($astdb_prering >= 0)) { 
    319331      $results['pre_ring'] = $astdb_prering; 
  • modules/branches/2.6/findmefollow/module.xml

    r7933 r8100  
    22  <rawname>findmefollow</rawname> 
    33  <name>Follow Me</name> 
    4   <version>2.6.0.0</version> 
     4  <version>2.6.0.1</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
    77  <changelog> 
     8    *2.6.0.1* #3780 
    89    *2.6.0.0* localizations, misc 
    910    *2.5.1.7* #3274, localization string enclosures 
  • modules/branches/2.6/ivr/functions.inc.php

    r6945 r8100  
    409409      $dest = $post[$post[$var].$match[1]]; 
    410410      $cmd = $post['option'.$match[1]]; 
    411       $ivr_ret = $post['ivr_ret'.$match[1]]
     411      $ivr_ret = isset($post['ivr_ret'.$match[1]]) ? $post['ivr_ret'.$match[1]] : ''
    412412      // Debugging if it all goes pear shaped. 
    413413      // print "I think pushing $cmd does $dest<br>\n"; 
  • modules/branches/2.6/ivr/module.xml

    r7961 r8100  
    22  <rawname>ivr</rawname> 
    33  <name>IVR</name> 
    4   <version>2.6.0.1</version> 
     4  <version>2.6.0.2</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
     
    1111  </description> 
    1212  <changelog> 
     13    *2.6.0.2* #3780 
    1314    *2.6.0.1* #3732 
    1415    *2.6.0.0* #3384, add hook support 
  • modules/branches/2.6/voicemail/functions.inc.php

    r7770 r8100  
    798798    $vmxobj->setMenuOpt("",0,'busy'); 
    799799  } else { 
     800    if (!isset($vmx_option_0_number)) { 
     801      $vmx_option_0_number = ''; 
     802    } 
    800803    $vmx_option_0_number = preg_replace("/[^0-9]/" ,"", $vmx_option_0_number); 
    801804    $vmxobj->setMenuOpt($vmx_option_0_number,0,'unavail'); 
     
    803806  } 
    804807 
    805   if ($vmx_state) { 
     808  if (isset($vmx_state) && $vmx_state) { 
    806809 
    807810    if (isset($vmx_unavail_enabled) && $vmx_unavail_enabled != '') { 
  • modules/branches/2.6/voicemail/module.xml

    r7955 r8100  
    22  <rawname>voicemail</rawname> 
    33  <name>Voicemail</name> 
    4   <version>2.6.0.0</version> 
     4  <version>2.6.0.1</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
     
    88  <canuninstall>no</canuninstall> 
    99  <changelog> 
     10    *2.6.0.1* #3780 
    1011    *2.6.0.0* #1957, localizations, misc 
    1112    *2.5.1.7* #3698