Changeset 5601

Show
Ignore:
Timestamp:
01/16/08 01:21:00 (5 years ago)
Author:
p_lindheimer
Message:

#2632 audio_lable, password, default_group not saved on initial config, and fix odd refresh behavior after add

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/vmblast/module.xml

    r5598 r5601  
    22  <rawname>vmblast</rawname> 
    33  <name>VoiceMail Blasting</name> 
    4   <version>2.4.2</version> 
     4  <version>2.4.3</version> 
    55  <type>setup</type> 
    66  <category>Internal Options &amp; Configuration</category> 
     
    99  </description> 
    1010  <changelog> 
     11    *2.4.3* #2632 audio_lable, password, default_group not saved on initial config, and fix odd refresh behavior after add 
    1112    *2.4.2* #2630 fixed errors requiring register_globals=on to be set in php.ini 
    1213    *2.4.1* add beep only, no confirmation option to vmblast audio label 
  • modules/branches/2.4/vmblast/page.vmblast.php

    r5597 r5601  
    1515 
    1616//the extension we are currently displaying 
    17 $extdisplay     = isset($_REQUEST['extdisplay'])    ? $_REQUEST['extdisplay']  : ''; 
    1817$account        = isset($_REQUEST['account'])       ? $_REQUEST['account']     : ''; 
     18$extdisplay     = isset($_REQUEST['extdisplay'])    ? $_REQUEST['extdisplay']  : (($account != '')?'GRP-'.$account:''); 
    1919$description    = isset($_REQUEST['description'])   ? $_REQUEST['description'] : ''; 
    2020$audio_label    = isset($_REQUEST['audio_label'])   ? $_REQUEST['audio_label'] : -1; 
     
    3636      if (!empty($usage_arr)) { 
    3737        $conflict_url = framework_display_extension_usage_alert($usage_arr); 
    38  
    39       } else if (vmblast_add($account,$vmblast_list,$description)) { 
     38      } else if (vmblast_add($account,$vmblast_list,$description,$audio_label,$password,$default_group)) { 
     39      $_REQUEST['action'] = 'delGRP'; 
    4040        needreload(); 
    41         redirect_standard(); 
     41        redirect_standard('extdisplay'); 
    4242      } 
    4343    }