From: Tilghman Lesher Date: Fri, 12 Mar 2010 19:50:31 +0000 (+0000) Subject: Merged revisions 251989 via svnmerge from X-Git-Tag: 1.6.1.19-rc1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fceae4b1612cbd091a6ef60a969bd6f7ac78c965;p=thirdparty%2Fasterisk.git Merged revisions 251989 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r251989 | tilghman | 2010-03-12 13:43:23 -0600 (Fri, 12 Mar 2010) | 8 lines Don't override a user option with the global option. (closes issue #16849) Reported by: ip-rob Patches: 20100311__issue16849.diff.txt uploaded by tilghman (license 14) Tested by: ip-rob ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@251993 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c900864532..c6b07a3a51 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6393,8 +6393,6 @@ static int notify_new_message(struct ast_channel *chan, struct ast_vm_user *vmu, if (!ast_strlen_zero(vmu->email)) { int attach_user_voicemail = ast_test_flag(vmu, VM_ATTACH); - if (!attach_user_voicemail) - attach_user_voicemail = ast_test_flag((&globalflags), VM_ATTACH); if (attach_user_voicemail) RETRIEVE(todir, msgnum, vmu->mailbox, vmu->context);