Skip to content

Commit

Permalink
Fix: 'count' on scalar zip->numFiles (#28756)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd authored Mar 11, 2024
1 parent f32bf4b commit 48073b8
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 48073b8

Please sign in to comment.