deprecation fixes
This commit is contained in:
parent
24ba1f3620
commit
00f1aa1da7
|
|
@ -139,7 +139,7 @@ class SearchController extends Controller
|
|||
|
||||
$results = $elastic->search($params);
|
||||
|
||||
nlog($results['hits']);
|
||||
// nlog($results['hits']);
|
||||
|
||||
$this->mapResults($results['hits']['hits'] ?? []);
|
||||
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@ class Payment extends BaseModel
|
|||
if (Ninja::isHosted()) {
|
||||
$domain = $this->company->domain();
|
||||
} else {
|
||||
$domain = strlen($this->company->portal_domain) > 5 ? $this->company->portal_domain : config('ninja.app_url');
|
||||
$domain = strlen($this->company->portal_domain ?? '') > 5 ? $this->company->portal_domain : config('ninja.app_url');
|
||||
}
|
||||
|
||||
return $domain.'/client/payment/'.$this->client->contacts()->first()->contact_key.'/'.$this->hashed_id.'?next=/client/payments/'.$this->hashed_id;
|
||||
|
|
|
|||
Loading…
Reference in New Issue