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

Commit

Permalink
Fixes #185
Browse files Browse the repository at this point in the history
  • Loading branch information
mgp25 committed Sep 6, 2015
1 parent 5defada commit 83ad00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snapchat.php
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ public function getUnconfirmedFriends()
{
if ($friend->type == 0)
{
if ((!is_array($friend->name)) && ($friend->is_shared_story != 0))
if ((!is_array($friend->name)) && (isset($friend->is_shared_story) && ($friend->is_shared_story != 0)))
$unconfirmedList[] = $friend->name;
}
}
Expand Down

0 comments on commit 83ad00f

Please sign in to comment.