Skip to content

Commit

Permalink
Avoid warning when accessing unixtime attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio Martins committed Aug 10, 2011
1 parent f0c6d81 commit 627692b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ public static function fromSimpleXMLElement(SimpleXMLElement $xml){
Track::fromSimpleXMLElement($xml->recenttrack):null,
Util::toFloat($xml->match),
Util::toInteger($xml->weight),
Util::toInteger($xml->registered->attributes()->unixtime)
Util::toInteger($xml->registered['unixtime'])
);
}
}
Expand Down

0 comments on commit 627692b

Please sign in to comment.