diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-01-08 02:17:35 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-01-08 02:17:35 +0000 |
commit | a431a0b68e481893b4b8cccaadfe57994d1a8d90 (patch) | |
tree | e1605b9bb5d308723e4aac399aac96722f851cb9 | |
parent | ee477d83eb8116d2f337d81033eacedd7ff22e8c (diff) | |
download | acf-freeswitch-vmail-a431a0b68e481893b4b8cccaadfe57994d1a8d90.tar.bz2 acf-freeswitch-vmail-a431a0b68e481893b4b8cccaadfe57994d1a8d90.tar.xz |
Fix bug in forwarding messages
-rw-r--r-- | vmail-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmail-model.lua b/vmail-model.lua index b0ea6a6..c0d8841 100644 --- a/vmail-model.lua +++ b/vmail-model.lua @@ -525,7 +525,7 @@ forward_message = function(self, forwardrequest) local mess = getselectresponse(sql) if #mess == #messages then -- Check if newuser exists - if validuser(newuser) then + if validuser(forwardrequest.value.newuser.value) then for i,m in ipairs(mess) do -- Forward message using mod_voicemail API -- doesn't seem like there's any way to tell whether or not it worked |