diff --git a/src/upgrade.js b/src/upgrade.js
index db91530ada..815baab82f 100644
--- a/src/upgrade.js
+++ b/src/upgrade.js
@@ -1,4 +1,4 @@
-"use strict";
+"use strict";
var db = require('./database'),
async = require('async'),
@@ -75,7 +75,7 @@ Upgrade.upgrade = function(callback) {
{
"widget": "html",
"data": {
- "html": Meta.config['motd'] || "Welcome to NodeBB, if you are an administrator of this forum visit the Themes ACP to modify and add widgets."
+ "html": Meta.config.motd || "Welcome to NodeBB, if you are an administrator of this forum visit the Themes ACP to modify and add widgets."
}
}
]), function(err) {
@@ -171,7 +171,7 @@ Upgrade.upgrade = function(callback) {
{
"widget": "html",
"data": {
- "html": Meta.config['motd'] || "Welcome to NodeBB, if you are an administrator of this forum visit the Themes ACP to modify and add widgets.",
+ "html": Meta.config.motd || "Welcome to NodeBB, if you are an administrator of this forum visit the Themes ACP to modify and add widgets.",
"container": container,
"title": "MOTD"
}