diff options
Diffstat (limited to 'data/lib/collectingMetadata.js')
-rw-r--r-- | data/lib/collectingMetadata.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/lib/collectingMetadata.js b/data/lib/collectingMetadata.js index efd9754..06b43ac 100644 --- a/data/lib/collectingMetadata.js +++ b/data/lib/collectingMetadata.js @@ -155,7 +155,7 @@ AttachList.prototype.markBadAttachments = function markBadAttachments() { createDeadLink("fixAllButton", "Fix all", titleElement, function() { Array.forEach(badAttachments, function(x) { - fixAttachById(x[1], constantData.XMLRPCData[window.location.hostname].url); + fixAttachById(x.id, constantData.XMLRPCData[window.location.hostname].url); }); }, [], false, null, "f"); badAttachments.forEach(function(x, i, a) { |