Loading src/Service/TermGlossaryManager.php +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class TermGlossaryManager { if (!empty($text)) { $new_value = $text; foreach ($this->termList as $term_id => $term_array) { $name = $term_array['name']; $name = preg_quote($term_array['name'], '/'); preg_match_all("/$name+/i", $new_value, $matches); if (is_array($matches[0]) && count($matches[0]) >= 1) { foreach ($matches[0] as $match) { Loading Loading
src/Service/TermGlossaryManager.php +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class TermGlossaryManager { if (!empty($text)) { $new_value = $text; foreach ($this->termList as $term_id => $term_array) { $name = $term_array['name']; $name = preg_quote($term_array['name'], '/'); preg_match_all("/$name+/i", $new_value, $matches); if (is_array($matches[0]) && count($matches[0]) >= 1) { foreach ($matches[0] as $match) { Loading