From: Tilghman Lesher Date: Thu, 3 Aug 2006 05:24:43 +0000 (+0000) Subject: Merged revisions 38761 via svnmerge from X-Git-Tag: 1.4.0-beta1~475 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91629a8d5582e2dc2614dd2b5b1d76c640f90974;p=thirdparty%2Fasterisk.git Merged revisions 38761 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r38761 | tilghman | 2006-08-03 00:22:19 -0500 (Thu, 03 Aug 2006) | 2 lines Bug 7648 - Checking wrong count for plurality on new messages for Dutch language ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38762 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 8fb0b969c0..3a2fa3fbf1 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4546,7 +4546,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");