aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-03 05:22:19 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-03 05:22:19 +0000
commit27eaeced29df80b2fe69d8d16e68f8fbbd3b836b (patch)
tree67d4842dd0f8b3e3931045005eaffa2bba6b74c2 /apps/app_voicemail.c
parent9cb56818f1dbce522418405bf8122e38eeb72649 (diff)
Bug 7648 - Checking wrong count for plurality on new messages for Dutch language
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38761 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 36ca228bf..cbb7d67e7 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -4380,7 +4380,7 @@ static int vm_intro_nl(struct ast_channel *chan,struct vm_state *vms)
if (vms->newmessages) {
res = say_and_wait(chan, vms->newmessages, chan->language);
if (!res) {
- if (vms->oldmessages == 1)
+ if (vms->newmessages == 1)
res = ast_play_and_wait(chan, "vm-INBOXs");
else
res = ast_play_and_wait(chan, "vm-INBOX");