diff --git a/setup/src/Magento/Setup/Module/I18n/Dictionary/Phrase.php b/setup/src/Magento/Setup/Module/I18n/Dictionary/Phrase.php index 388ece942db642a97fe5a6be9796d9fd09375ccc..1c7347f28928e295a030e4fdc5b13df109f1ca28 100644 --- a/setup/src/Magento/Setup/Module/I18n/Dictionary/Phrase.php +++ b/setup/src/Magento/Setup/Module/I18n/Dictionary/Phrase.php @@ -275,8 +275,6 @@ class Phrase $string = preg_replace('/([^\\\\])' . $encloseQuote . ' ?\. ?' . $encloseQuote . '/', '$1', $string); $string = addslashes($string); } - $evalString = 'return ' . $encloseQuote . $string . $encloseQuote . ';'; - $result = @eval($evalString); - return is_string($result) ? $result : $string; + return $string; } }