minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-09-18 14:07:30 +03:00
parent 7182cf3396
commit 564f2bd144

View File

@ -1214,7 +1214,7 @@ module.CollectionTags = core.ImageGridFeatures.Feature({
// the stuff it created...
// XXX should we be a bit more atomic and save tags iff
// they were changed only???
Object.keys(this.collections).forEach(function(title){
Object.keys(this.collections || {}).forEach(function(title){
var path = 'collections/'+ raw[title].gid
var metadata = res.index[path + '/metadata']