Fix conflict when a user was reverting the latest patch from someone else

pull/1/head
yflory 6 years ago
parent 8f849d8d4a
commit b166c70a5f

@ -259,6 +259,9 @@ define([
if (content === UNINITIALIZED) { return; }
throw new Error("Content must be an object or array, type is " + typeof(content));
}
oldContent = content;
if (Array.isArray(content)) {
// Pad
content.push({ metadata: cpNfInner.metadataMgr.getMetadataLazy() });

Loading…
Cancel
Save