From 62bb8d946d382c434d11adb25e49db0fb0aebb80 Mon Sep 17 00:00:00 2001 From: mdanko2000 <83007116+mdanko2000@users.noreply.github.com> Date: Thu, 17 Jun 2021 09:23:55 +0500 Subject: [PATCH] Update SharedStrings.php --- Tasks/SharedStrings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tasks/SharedStrings.php b/Tasks/SharedStrings.php index a65c816..9a169ef 100644 --- a/Tasks/SharedStrings.php +++ b/Tasks/SharedStrings.php @@ -47,9 +47,9 @@ public function merge($zip_dir = null) { $mapping[$i] = count($shared_strings) - 1; } } - + $target->documentElement->setAttribute('uniqueCount',count($shared_strings)); // <-- update uniqueCount $target->save($target_filename); return $mapping; } -} \ No newline at end of file +}