From 4ea7ef654f2ea8b1038c48d6a5162908fbbc0d6f Mon Sep 17 00:00:00 2001 From: Matteo Date: Mon, 7 Oct 2019 18:44:05 +0200 Subject: [PATCH] Fix per eventuali a capo nei file inclusi --- lib/util.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 398e0971c..7cb336422 100644 --- a/lib/util.php +++ b/lib/util.php @@ -295,7 +295,8 @@ if (!function_exists('download')) { * @return bool */ function download($file, $filename = null) - { + { + ob_get_clean(); ob_end_clean(); if (!headers_sent()) {