1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fix for incorrect country displaying

This commit is contained in:
David Bomba 2020-08-08 07:44:49 +10:00
parent 2dff1f44d2
commit 651fdeabdb

View File

@ -59,7 +59,7 @@ class CompanyPresenter extends EntityPresenter
if ($cityState = $this->getCompanyCityState($settings)) {
$str .= e($cityState) . '<br/>';
}
if ($country = Country::find($settings->country_id)->first()) {
if ($country = Country::find($settings->country_id)) {
$str .= e($country->name) . '<br/>';
}
if ($settings->phone) {