BUG 7646 revert commit 83393581cc8258578fd987186c61c1898ece4ad1
This commit is contained in:
committed by
Julio Cesar Laura
parent
a4929e08ec
commit
8a54d14903
@@ -2211,9 +2211,6 @@ $output = $outputHeader.$output;
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( isset ( $translation[$msgID] ) ){
|
if ( isset ( $translation[$msgID] ) ){
|
||||||
$arraySearch = array("'");
|
|
||||||
$arrayReplace = array("\\'");
|
|
||||||
|
|
||||||
$translationString = preg_replace("[\n|\r|\n\r]", ' ', $translation[$msgID]);
|
$translationString = preg_replace("[\n|\r|\n\r]", ' ', $translation[$msgID]);
|
||||||
|
|
||||||
if( isset($data) && is_array($data) ) {
|
if( isset($data) && is_array($data) ) {
|
||||||
@@ -2222,8 +2219,6 @@ $output = $outputHeader.$output;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$translationString = str_replace($arraySearch, $arrayReplace, $translationString);
|
|
||||||
|
|
||||||
return $translationString;
|
return $translationString;
|
||||||
} else {
|
} else {
|
||||||
if( defined("UNTRANSLATED_MARK") ) {
|
if( defined("UNTRANSLATED_MARK") ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user