diff --git a/Library/NCL/NCLNameCaseCore.php b/Library/NCL/NCLNameCaseCore.php index 43af4f3..bfa09ec 100644 --- a/Library/NCL/NCLNameCaseCore.php +++ b/Library/NCL/NCLNameCaseCore.php @@ -646,7 +646,7 @@ private function WordCase(NCLNameCaseWord $word) $exclusion=array('тулуз');//исключения $cur_word_=mb_strtolower($cur_word); if ( !in_array($cur_word_, $exclusion ) ){ - $o_nc = new NCLNameCaseRu(); + $o_nc = new (__CLASS__)(); $o_nc->detectNamePart( $o_ncw ); $is_norm_rules=( $o_ncw->getNamePart()=='S' ); }