Commit 14b44d6a authored by Karthik Kumar Bodu's avatar Karthik Kumar Bodu Committed by Andrew Berezovsky
Browse files

Issue #2569349 by karthikkumarbodu: Undefined index notice in hybridauth.module

parent 4fdce8c7
Loading
Loading
Loading
Loading
+5 −1
Changes for hybridauth.module: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -397,9 +397,13 @@ function hybridauth_user_view($account, $view_mode, $langcode) {
  foreach ($identities as $identity) {
    $data = unserialize($identity['data']);
    $data_array[] = $data;
    $profile_link = '';
    if (!empty($data['profileURL'])) {
      $profile_link = l($data['profileURL'], $data['profileURL'], array('attributes' => array('target' => '_blank'), 'external' => TRUE));
    }
    $rows[] = array(
      $providers[$data['provider']],
      l($data['profileURL'], $data['profileURL'], array('attributes' => array('target' => '_blank'), 'external' => TRUE)),
      $profile_link,
    );
  }