variable scope fixed

This commit is contained in:
nothing2lose
2013-06-01 02:00:51 +09:00
parent d09f90d9d4
commit 69b650da42

View File

@@ -26,7 +26,7 @@ exports.setup = function(req, res, next) {
if(~req.url.indexOf('?')) {
try {
req.query = parseQuery(req.url);
m = req.query['_method'];
var m = req.query['_method'];
if ( m ) {
req.method = m.toUpperCase();
}