Changeset 3359

Show
Ignore:
Timestamp:
12/19/06 00:23:37 (6 years ago)
Author:
qldrob
Message:

Fix for #1552, voicemail changes not being updated in device and user mode.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2/voicemail/functions.inc.php

    r3355 r3359  
    8181    return true;  
    8282  // On a 'new' user, 'tech_hardware' is set, and there's no extension. Hook into the page.  
    83   if ($tech_hardware != null || $pagename == 'users') {  
     83  if ($tech_hardware != null ) {  
    8484    voicemail_applyhooks();  
    8585  } elseif ($action=="add") {  
     
    9090    // JS function needed for checking voicemail = Enabled 
    9191    $js = 'return (theForm.vm.value == "enabled");'; 
    92   } elseif ($extdisplay != '') {  
     92  } elseif ($extdisplay != '' || $pagename == 'users') {  
    9393  // We're now viewing an extension, so we need to display _and_ process.  
    9494    voicemail_applyhooks();