Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0

This commit is contained in:
Laurent Destailleur 2022-01-07 15:45:51 +01:00
commit 5ee74d7c07
2 changed files with 13 additions and 11 deletions

View File

@ -347,6 +347,7 @@ class Utils
{ {
$handlein = popen($fullcommandclear, 'r'); $handlein = popen($fullcommandclear, 'r');
$i=0; $i=0;
if ($handlein) {
while (!feof($handlein)) while (!feof($handlein))
{ {
$i++; // output line number $i++; // output line number
@ -359,6 +360,7 @@ class Utils
} }
pclose($handlein); pclose($handlein);
} }
}
if ($compression == 'none') fclose($handle); if ($compression == 'none') fclose($handle);