Use a less generic model name than Client
This commit is contained in:
parent
4bb454c545
commit
12c91eab70
3 changed files with 7 additions and 7 deletions
|
@ -150,7 +150,7 @@ class Note extends Model implements HasMedia
|
|||
if ($this->client_id == null) {
|
||||
return;
|
||||
}
|
||||
$name = Client::where('client_url', $this->client_id)->value('client_name');
|
||||
$name = MicropubClient::where('client_url', $this->client_id)->value('client_name');
|
||||
if ($name == null) {
|
||||
$url = parse_url($this->client_id);
|
||||
if (isset($url['path'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue