diff --git a/src/install.js b/src/install.js index 5c00f41c84..564f06f703 100644 --- a/src/install.js +++ b/src/install.js @@ -436,7 +436,7 @@ function setCopyrightWidget(next) { db.init(function(err) { if (!err) { - db.setObjectField('widgets:global', 'footer', "[{\"widget\":\"html\",\"data\":{\"html\":\"\",\"title\":\"\",\"container\":\"\"}}]", next); + db.setObjectField('widgets:global', 'footer', "[{\"widget\":\"html\",\"data\":{\"html\":\"\",\"title\":\"\",\"container\":\"\"}}]", next); } }); } diff --git a/src/upgrade.js b/src/upgrade.js index d969950846..2eeb1bb7cf 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -523,7 +523,7 @@ Upgrade.upgrade = function(callback) { thisSchemaDate = Date.UTC(2014, 3, 31, 12, 30); if (schemaDate < thisSchemaDate) { - db.setObjectField('widgets:global', 'footer', "[{\"widget\":\"html\",\"data\":{\"html\":\"\",\"title\":\"\",\"container\":\"\"}}]", function(err) { + db.setObjectField('widgets:global', 'footer', "[{\"widget\":\"html\",\"data\":{\"html\":\"\",\"title\":\"\",\"container\":\"\"}}]", function(err) { if (err) { winston.error('[2014/3/31] Problem re-adding copyright message into global footer widget'); next(); diff --git a/src/views/admin/footer.tpl b/src/views/admin/footer.tpl index 66c1ddc335..92aba3d202 100644 --- a/src/views/admin/footer.tpl +++ b/src/views/admin/footer.tpl @@ -43,7 +43,7 @@
- \ No newline at end of file +