Merge pull request #162 from miduga/my-commits

#161 - meta.js problem with empty config var
v1.18.x
Julian Lam 12 years ago
commit 64b166ca8c

@ -9,6 +9,7 @@ var utils = require('./../public/src/utils.js'),
get: function(callback) { get: function(callback) {
RDB.hgetall('config', function(err, config) { RDB.hgetall('config', function(err, config) {
if (!err) { if (!err) {
config = config || {};
config.status = 'ok'; config.status = 'ok';
callback(config); callback(config);
} else { } else {

Loading…
Cancel
Save