Commit 836b7c37 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Proper handling of undefied image metadata values

parent 5b8789a7
......@@ -1304,7 +1304,7 @@
parse_meta: function(img) {
_.each(this.meta_keys_as_attrs, _.bind(function(key){
img[key] = this.get_meta_key(img, key);
img[key] = this.get_meta_key(img, key) || "";
}, this));
return img;
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment