Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -268,6 +268,11 @@ class Badge extends Model
|
||||
{
|
||||
if ( !$this->badge_use_image and $badge = $this->getRecordBadge() )
|
||||
{
|
||||
if( !$badge->file() )
|
||||
{
|
||||
$badge->save();
|
||||
}
|
||||
|
||||
return $badge->file()->url;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user