mirror of
https://github.com/retailcrm/NameCaseLib.git
synced 2024-12-05 03:16:06 +03:00
fix исключение "Дель"
This commit is contained in:
parent
a0b88bee84
commit
2a89e04163
@ -103,6 +103,13 @@ class NCLNameCaseRu extends NCLNameCaseCore
|
|||||||
{
|
{
|
||||||
if ($this->in($this->Last(1), 'ьй'))
|
if ($this->in($this->Last(1), 'ьй'))
|
||||||
{
|
{
|
||||||
|
if ($this->inNames($this->workingWord, array('Дель')))
|
||||||
|
{
|
||||||
|
$this->Rule(101);
|
||||||
|
$this->makeResultTheSame();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->Last(2, 1) != "и")
|
if ($this->Last(2, 1) != "и")
|
||||||
{
|
{
|
||||||
$this->wordForms($this->workingWord, array('я', 'ю', 'я', 'ем', 'е'), 1);
|
$this->wordForms($this->workingWord, array('я', 'ю', 'я', 'ем', 'е'), 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user