Index: branches/5.0.x/core/kernel/languages/phrases_cache.php =================================================================== diff -u -r12450 -r12466 --- branches/5.0.x/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 12450) +++ branches/5.0.x/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 12466) @@ -1,6 +1,6 @@ LanguageId . ') AND (UPPER(Phrase) = ' . $this->Conn->qstr($label) . ')'; + WHERE (LanguageId = ' . $this->LanguageId . ') AND (Phrase = ' . $this->Conn->qstr($label) . ')'; // UPPER(Phrase) $res = $this->Conn->GetRow($sql); if ($res === false || count($res) == 0) {