Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jung35 committed Oct 30, 2015
2 parents f48e683 + 8d95f9c commit b87e85a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions app/Models/Profile.php
Expand Up @@ -118,6 +118,11 @@ public function getLastAddedAtAttribute($lastAddedAt)
return (new Carbon($lastAddedAt))->format("M j Y");
}

public function getTotalAttribute($total)
{
return is_numeric($total) ? $total : 0;
}

public function isPrivate()
{
return $this->privacy != 3;
Expand Down
1 change: 0 additions & 1 deletion app/Steam/SteamAPI.php
@@ -1,6 +1,5 @@
<?php namespace VacStatus\Steam;

use VacStatus\Steam\Steam;
use Cache;
use Carbon;

Expand Down
2 changes: 1 addition & 1 deletion app/Update/MultiProfile.php
Expand Up @@ -351,7 +351,7 @@ private function updateUsingAPI()

if($this->customList)
{
if(isset($userListProfile->profile_name))
if(isset($userListProfile->profile_name) && !empty($userListProfile->profile_name))
{
$return['display_name'] = $userListProfile->profile_name;
}
Expand Down

0 comments on commit b87e85a

Please sign in to comment.