From fc387442f5712e99314e644b6dd3858f9999da5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihan=20=C5=9Eent=C3=BCrk?= <53110792+CihanSenturk@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:59:14 +0300 Subject: [PATCH] relationships count warning text updated --- app/Traits/Relationships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/Relationships.php b/app/Traits/Relationships.php index 1112a6b24..cac385563 100644 --- a/app/Traits/Relationships.php +++ b/app/Traits/Relationships.php @@ -25,7 +25,7 @@ trait Relationships } $text = Str::contains($text, '::') ? $text : 'general.' . $text; - $counter[] = $c . ' ' . strtolower(trans_choice($text, ($c > 1) ? 2 : 1)); + $counter[] = (($c > 1) ? $c . ' ' : null ) . strtolower(trans_choice($text, ($c > 1) ? 2 : 1)); } return $counter;