Skip to content

Commit

Permalink
Fix: 'count' on scalar zip->numFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Mar 11, 2024
1 parent 0fb4a44 commit 94155f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/files.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2307,7 +2307,7 @@ function dol_compress_file($inputfile, $outputfile, $mode = "gz", &$errorstring
// Zip archive will be created only after closing object
$zip->close();

dol_syslog("dol_compress_file success - ".count($zip->numFiles)." files");
dol_syslog("dol_compress_file success - ".$zip->numFiles." files");
return 1;
}

Expand Down

0 comments on commit 94155f2

Please sign in to comment.