Changeset 12826 for modules

Show
Ignore:
Timestamp:
10/18/11 18:35:14 (2 years ago)
Author:
tm1000
Message:

Fixed issue of editor not showing up on the extensions edit screen

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/endpointman/functions.inc.php

    r12769 r12826  
    5252    $tech = isset($_REQUEST['tech_hardware'])?$_REQUEST['tech_hardware']:null; 
    5353 
    54  
    55     if((($display == "extensions") OR ($display == "devices")) && (isset($extdisplay) OR ($tech == "sip_generic"))) { 
     54    if((($display == "extensions") OR ($display == "devices")) && (isset($extdisplay) OR ($tech == "sip_generic"))) {  
    5655        global $endpoint; 
    5756 
     
    181180    $extdisplay = isset($_REQUEST['extdisplay'])?$_REQUEST['extdisplay']:null; 
    182181    $tech = isset($_REQUEST['tech_hardware']) ? $_REQUEST['tech_hardware'] : null; 
    183  
    184     dbug($_REQUEST); 
    185      
    186     if((isset($tech)) && ($tech == 'sip_generic')) { 
     182  $tech = isset($tech) ? $tech : $_REQUEST['tech']; 
     183   
     184    if((isset($tech)) && (($tech == 'sip_generic') OR ($tech == 'sip'))) { 
    187185    // Don't display this stuff it it's on a 'This xtn has been deleted' page. 
    188186        if ($action != 'del') {