Skip to content

Commit 8c51493

Browse files
Merge pull request #36 from edmandiesamonte/Laravel4
Laravel4 lastlogoff fix from master
2 parents 02d48bf + f5d9e4c commit 8c51493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Syntax/SteamApi/Containers/Player.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct($player)
5555
$this->communityVisibilityState = $player->communityvisibilitystate;
5656
$this->profileState = $this->checkIssetField($player, 'profilestate');
5757
$this->personaName = $player->personaname;
58-
$this->lastLogoff = date('F jS, Y h:ia', $player->lastlogoff);
58+
$this->lastLogoff = date('F jS, Y h:ia', $this->checkIssetField($player, 'lastlogoff'));
5959
$this->profileUrl = $player->profileurl;
6060
$this->avatar = $this->getImageForAvatar($player->avatar);
6161
$this->avatarMedium = $this->getImageForAvatar($player->avatarmedium);

0 commit comments

Comments
 (0)