aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-03 05:24:43 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-03 05:24:43 +0000
commitd726e96853b2256a22f8d655c67b445ca9fc52bf (patch)
tree746d03aac1ba975b89506673872ecfa598f4c49e
parenta98446c84284acaf5b541ce93c9bce06e527b978 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@38762 f38db490-d61c-443f-a65b-d21fe96a405b
-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 8fb0b969c..3a2fa3fbf 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");