Skip to content

Commit

Permalink
Merge pull request #2432 from spl1nes/patch-1
Browse files Browse the repository at this point in the history
Bug fix: strtr using empty string
  • Loading branch information
Progi1984 authored Aug 12, 2023
2 parents 85d200a + 6fe34e3 commit c6c25d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpWord/Shared/PCLZip/pclzip.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ public function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_
if (is_string($p_options_list[$i + 1])) {

// ----- Remove spaces
$p_options_list[$i + 1] = strtr($p_options_list[$i + 1], ' ', '');
$p_options_list[$i + 1] = str_replace(' ', '', $p_options_list[$i + 1]);

// ----- Parse items
$v_work_list = explode(",", $p_options_list[$i + 1]);
Expand Down

0 comments on commit c6c25d1

Please sign in to comment.