diff --git a/www/pages/iris.php b/www/pages/iris.php index f20b3ad7f..d1955bba7 100644 --- a/www/pages/iris.php +++ b/www/pages/iris.php @@ -42,6 +42,9 @@ function getDocIris($codeCommune, $format='pdf', $force=0) } else { + $fp = @fopen($fichier, "w"); + @fwrite($fp, $body); + @fclose($fp); return $page['body']; } }