Changeset 7854

Show
Ignore:
Timestamp:
06/20/09 19:53:20 (1 year ago)
Author:
fskrotzki
Message:

Fixes #3732 by removing the system context of zonemessages from the selection list

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/ivr/page.ivr.php

    r5824 r7854  
    147147                                        $vmcontexts = array_keys($tresults); 
    148148                                        foreach ($vmcontexts as $vmc) { 
    149                                                 if ($vmc != 'general' )  
     149                                                if ($vmc != 'general') && ($vmc != 'zonemessages)  
    150150                                                        echo '<option value="'.$vmc.'"'.($vmc == $ivr_details['dircontext'] ? ' SELECTED' : '').'>'.$vmc."</option>\n"; 
    151151                                                } 
  • modules/branches/2.5/ivr/page.ivr.php

    r7342 r7854  
    207207                                        $vmcontexts = array_keys($vm_results); 
    208208                                        foreach ($vmcontexts as $vmc) { 
    209                                                 if ($vmc != 'general' )  
     209                                                if ($vmc != 'general') && ($vmc != 'zonemessages')  
    210210                                                        echo '<option value="'.$vmc.'"'.($vmc == $ivr_details['dircontext'] ? ' SELECTED' : '').'>'.$vmc."</option>\n"; 
    211211                                                } 
  • modules/branches/2.6/ivr/page.ivr.php

    r7320 r7854  
    207207                                        $vmcontexts = array_keys($vm_results); 
    208208                                        foreach ($vmcontexts as $vmc) { 
    209                                                 if ($vmc != 'general' )  
     209                                                if ($vmc != 'general') && ($vmc != 'zonemessages)  
    210210                                                        echo '<option value="'.$vmc.'"'.($vmc == $ivr_details['dircontext'] ? ' SELECTED' : '').'>'.$vmc."</option>\n"; 
    211211                                                }