[asterisk-commits] mmichelson: trunk r81190 - in /trunk: ./ contrib/scripts/vmail.cgi

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 28 09:12:56 CDT 2007


Author: mmichelson
Date: Tue Aug 28 09:12:55 2007
New Revision: 81190

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81190
Log:
Merged revisions 81189 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81189 | mmichelson | 2007-08-28 09:12:14 -0500 (Tue, 28 Aug 2007) | 5 lines

Fixes a forwarding problem when using res_config_mysql

(closes issue #10573, reported by chrisvaughan, patch suggested by chrisvaughan as well)


........

Modified:
    trunk/   (props changed)
    trunk/contrib/scripts/vmail.cgi

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/contrib/scripts/vmail.cgi
URL: http://svn.digium.com/view/asterisk/trunk/contrib/scripts/vmail.cgi?view=diff&rev=81190&r1=81189&r2=81190
==============================================================================
--- trunk/contrib/scripts/vmail.cgi (original)
+++ trunk/contrib/scripts/vmail.cgi Tue Aug 28 09:12:55 2007
@@ -242,7 +242,7 @@
                                 my $dbh = DBI->connect("DBI:mysql:$dbname:$dbhost",$dbuser,$dbpass);
                                 my $sth = $dbh->prepare(qq{select fullname,context from voicemail where mailbox='$mbox' and password='$pass' and context='$context'});
                                 $sth->execute();
-				if (($fullname, $category) = $sth->fetchrow_array()) {;
+				if (($fullname, $context) = $sth->fetchrow_array()) {;
                                         return ($fullname ? $fullname : "unknown", $category);
                                 }
                         }




More information about the asterisk-commits mailing list