From 2a0dfabff7232142b78beb07a2e4a51e2ff5ea37 Mon Sep 17 00:00:00 2001 From: Grigory Parshikov Date: Fri, 8 Nov 2013 12:35:20 +0600 Subject: [PATCH] Small fix --- Trait/Petrovich.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trait/Petrovich.php b/Trait/Petrovich.php index da1a8ae..7748c5b 100644 --- a/Trait/Petrovich.php +++ b/Trait/Petrovich.php @@ -55,7 +55,7 @@ public function middlename($case = Petrovich::CASE_NOMENATIVE) { */ public function lastname($case = Petrovich::CASE_NOMENATIVE) { if ($case === Petrovich::CASE_NOMENATIVE) { - return $this->firstname; + return $this->lastname; } if (!isset($this->petrovich))