From 81f151790a297538f30b7b78f0e111e821efcbd7 Mon Sep 17 00:00:00 2001 From: mdanko2000 <83007116+mdanko2000@users.noreply.github.com> Date: Thu, 17 Jun 2021 09:22:14 +0500 Subject: [PATCH] Update Styles.php --- Tasks/Styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/Styles.php b/Tasks/Styles.php index 140f94b..ac7bde8 100644 --- a/Tasks/Styles.php +++ b/Tasks/Styles.php @@ -203,7 +203,7 @@ protected function rewriteCells($existing_xpath, $source_xpath, $mapping) { // this is a new style! $new_id = count($defined_styles); - $defined_styles[$id] = array( + $defined_styles[$new_id] = array( "node" => $style, "string" => $style->C14N(true, false), "id" => $new_id