diff --git a/www/common/mergeDrive.js b/www/common/mergeDrive.js index 9247656e1..aa6e57b0a 100644 --- a/www/common/mergeDrive.js +++ b/www/common/mergeDrive.js @@ -49,7 +49,7 @@ define([ // We want to merge an edit pad: check if we have the same channel // but read-only and upgrade it in that case datas.forEach(function (pad) { - if (!pad.href) { data.href = pad.href; } + if (pad.data && !pad.data.href) { pad.data.href = data.href; } }); return; }