diff --git a/www/common/outer/userObject.js b/www/common/outer/userObject.js index 004018c12..9cbd4b2c4 100644 --- a/www/common/outer/userObject.js +++ b/www/common/outer/userObject.js @@ -445,7 +445,7 @@ define([ } // Add to root if (path && exp.isPathIn(newPath, [ROOT])) { - var parentEl = exp.find(newPath); + parentEl = exp.find(newPath); if (parentEl) { var newName = exp.getAvailableName(parentEl, Hash.createChannelId()); parentEl[newName] = id;