Skip to content

Node.js based forum software built for the modern web

fix typoed variable name

Ben Lubar69ee813d3e69
diff --git a/src/upgrade.js b/src/upgrade.js
index d542644639..4eb030de81 100644
--- a/src/upgrade.js
+++ b/src/upgrade.js
@@ -924,7 +924,7 @@ Upgrade.upgrade = function (callback) {
}
async.each(data, function (postData, next) {
- if (!parseInt(post.toPid, 10)) {
+ if (!parseInt(postData.toPid, 10)) {
return next(null);
}
async.parallel([