Browse files

fix variable name

  • Loading branch information...
1 parent 4013dbe commit c806b68152c359ff67006b55798cfe98ee65b8b8 @thoward thoward committed Aug 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers/admin.js
View
2 controllers/admin.js
@@ -35,7 +35,7 @@ exports.updateTopic = function (req, res, next) {
update.type = post.type;
}
if (post.name) {
- udpdate.name = post.name;
+ update.name = post.name;
}
if (post.topicInfo) {
update.topicInfo = post.topicInfo;

0 comments on commit c806b68

Please sign in to comment.