Skip to content

Commit db8221d

Browse files
Roman SyroeshkoRoman Syroeshko
authored andcommitted
Fix for #532.
1 parent 988eaca commit db8221d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PhpWord/TemplateProcessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,8 @@ public function saveAs($fileName)
340340
}
341341

342342
/*
343-
* Note: we do not use ``rename`` funcion here, because it looses file ownership data on Windows, and the file may not open.
343+
* Note: we do not use ``rename`` funcion here, because it looses file ownership data on Windows platform.
344+
* As a result, user cannot open the file directly getting "Access denied" message.
344345
*
345346
* @see https://github.com/PHPOffice/PHPWord/issues/532
346347
*/

0 commit comments

Comments
 (0)