-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Hi,
When trying to import an album of an artist with '&' in their name (ex: Djihan & Kamien), i get a unique constraint-error from the Artist-model.
I can fix it by changing the following method:
public function setNameAttribute($value)
{
$this->attributes['name'] = html_entity_decode($value);
}to this:
public function setNameAttribute($value)
{
$this->attributes['name'] = $value;
}I'm not sure if i should send a PR for this, since you kind of mentioned the html_entity_decode is necessary in some cases. And seems it's only in some rare cases. Might have something to do with a weirdly formatted id3-tag. I'll try to find the file that caused the mayhem and update my report afterwards..