fix typo in write

Merged Jan Grasnick requested to merge 7.0-patch-4fe8 into 7.0

Merge request reports