Remove more references to ab_account, Docker build tweaks, Fix error rendering charges

This commit is contained in:
Deon George
2021-07-19 16:23:38 +10:00
parent 8b08f79877
commit f22813bb5b
5 changed files with 8 additions and 8 deletions

View File

@@ -12,6 +12,6 @@ class Charge extends Model
public function getNameAttribute()
{
return sprintf('%s %s',$this->description,join('|',unserialize($this->getAttribute('attributes'))));
return sprintf('%s %s',$this->description,$this->getAttribute('attributes') ? join('|',unserialize($this->getAttribute('attributes'))) : '');
}
}