Zip::add - Filename 2° parameter missing

Created on 10 January 2023, over 1 year ago
Updated 29 August 2023, 9 months ago

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Archiver%...

Enter a descriptive title (above) relating to public function Zip::add, then describe the problem you have found:

public function add($file_path,$filename=NULL) {
if($filename){
$this->zip
->addFile($file_path,$filename);
}else{
$this->zip
->addFile($file_path);
}

return $this;
}

🐛 Bug report
Status

Closed: outdated

Version

9.5

Component
Documentation 

Last updated about 11 hours ago

No maintainer
Created by

🇮🇹Italy antonio.cangemi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024