Changeset 5339
- Timestamp:
- 12/04/07 00:36:40 (5 years ago)
- Files:
-
- modules/branches/2.4/dictate/functions.inc.php (modified) (1 diff)
- modules/branches/2.4/languages/functions.inc.php (modified) (1 diff)
- modules/branches/2.4/voicemail/functions.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/dictate/functions.inc.php
r5181 r5339 152 152 } 153 153 if ($action == "add" || $action == "edit") { 154 dictate_update($extdisplay, $dictenabled, $dictformat, $dictemail); 154 if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 155 dictate_update($extdisplay, $dictenabled, $dictformat, $dictemail); 156 } 155 157 } elseif ($action == "del") { 156 158 dictate_del($extdisplay); modules/branches/2.4/languages/functions.inc.php
r5328 r5339 168 168 } 169 169 if ($action == "add" || $action == "edit") { 170 languages_user_update($extdisplay, $langcode); 170 if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 171 languages_user_update($extdisplay, $langcode); 172 } 171 173 } elseif ($action == "del") { 172 174 languages_user_del($extdisplay); modules/branches/2.4/voicemail/functions.inc.php
r5326 r5339 235 235 switch ($action) { 236 236 case "add": 237 voicemail_mailbox_add($extdisplay, $_REQUEST); 238 needreload(); 237 if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 238 voicemail_mailbox_add($extdisplay, $_REQUEST); 239 needreload(); 240 } 239 241 break; 240 242 case "del": … … 246 248 break; 247 249 case "edit": 248 voicemail_mailbox_del($extdisplay); 249 if ( $vm != 'disabled' ) 250 voicemail_mailbox_add($extdisplay, $_REQUEST); 251 needreload(); 250 if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 251 voicemail_mailbox_del($extdisplay); 252 if ( $vm != 'disabled' ) 253 voicemail_mailbox_add($extdisplay, $_REQUEST); 254 needreload(); 255 } 252 256 break; 253 257 }
