Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Component / Gettext / PoStreamWriter.php
index f5ffc85f9718e47b29032d21e451678efa346033..5419b210aafbd29bd34d05a144063b561fcb55c7 100644 (file)
@@ -104,7 +104,7 @@ class PoStreamWriter implements PoWriterInterface, PoStreamInterface {
    *   If writing the data is not possible.
    */
   private function write($data) {
-    $result = fputs($this->_fd, $data);
+    $result = fwrite($this->_fd, $data);
     if ($result === FALSE) {
       throw new Exception('Unable to write data: ' . substr($data, 0, 20));
     }