[asterisk-commits] mmichelson: branch 1.4 r81189 - /branches/1.4/contrib/scripts/vmail.cgi
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 28 09:12:15 CDT 2007
Author: mmichelson
Date: Tue Aug 28 09:12:14 2007
New Revision: 81189
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81189
Log:
Fixes a forwarding problem when using res_config_mysql
(closes issue #10573, reported by chrisvaughan, patch suggested by chrisvaughan as well)
Modified:
branches/1.4/contrib/scripts/vmail.cgi
Modified: branches/1.4/contrib/scripts/vmail.cgi
URL: http://svn.digium.com/view/asterisk/branches/1.4/contrib/scripts/vmail.cgi?view=diff&rev=81189&r1=81188&r2=81189
==============================================================================
--- branches/1.4/contrib/scripts/vmail.cgi (original)
+++ branches/1.4/contrib/scripts/vmail.cgi Tue Aug 28 09:12:14 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