Issue #15496: wrong variable name in move_attachments.php