EVOLUTION-NINJA
Edit File: hybridauth-foreachwarning-0-0-D7_0.patch
# This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- <html>Google.php (<b>Today 10:32:24 AM</b>)</html> +++ <html><b>Current File</b></html> @@ -115,6 +115,7 @@ if (count($verified->emails) == 1) { $this->user->profile->emailVerified = $verified->emails[0]->value; } else { + if(is_array($verified->emails)){ foreach ($verified->emails as $email) { if ($email->type == 'account') { $this->user->profile->emailVerified = $email->value; @@ -123,6 +124,7 @@ } } } + } $this->user->profile->phone = (property_exists($response,'phone'))?$response->phone:""; $this->user->profile->country = (property_exists($response,'country'))?$response->country:""; $this->user->profile->region = (property_exists($response,'region'))?$response->region:"";