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:
parent
2dff1f44d2
commit
651fdeabdb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user