From d9d7a57a5f6c7b14ede5408ea4a05de55cd45a12 Mon Sep 17 00:00:00 2001 From: Andriy Chaika Date: Wed, 27 Jul 2011 15:58:34 +0300 Subject: [PATCH] =?UTF-8?q?[0.4.1]=20/RU11072716/=20=D1=80=D0=B0=D1=81?= =?UTF-8?q?=D0=BF=D0=BE=D0=B7=D0=BD=D0=B0=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B8=D0=BC=D0=B5=D0=BD=D0=B8,=20=D1=84=D0=B0=D0=BC=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/NCLNameCaseRu.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/NCLNameCaseRu.php b/Library/NCLNameCaseRu.php index ccd7d4f..f122afe 100644 --- a/Library/NCLNameCaseRu.php +++ b/Library/NCLNameCaseRu.php @@ -220,7 +220,7 @@ class NCLNameCaseRu extends NCLNameCaseCore $this->Rule(403); return true; } - elseif(!$this->in($this->Last(2, 1), $this->vowels)) + elseif (!$this->in($this->Last(2, 1), $this->vowels) or $this->Last(2, 1) == 'и') { $this->wordForms($this->workingWord, array('ого', 'ому', 'ого', 'им', 'ом'), 2); $this->Rule(404); @@ -845,15 +845,15 @@ class NCLNameCaseRu extends NCLNameCaseCore $second += 0.4; } } - + /** * Имена типа Николай */ - if($this->Last(4) == 'олай') + if ($this->Last(4) == 'олай') { $first += 0.6; } - + /** * Фамильные окончания */