diff --git a/src/snapchat.php b/src/snapchat.php index b8ac05f..2936b48 100644 --- a/src/snapchat.php +++ b/src/snapchat.php @@ -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; } }