mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
Use isUnknown
This commit is contained in:
parent
f6733dcae6
commit
b356800a32
1 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ class Artist extends Model
|
|||
*/
|
||||
public function getInfo()
|
||||
{
|
||||
if ($this->id === self::UNKNOWN_ID) {
|
||||
if ($this->isUnknown()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue