- if ($oid->find()) {
- while ($oid->fetch()) {
- $links[] = array('href' => $oid->display,
- 'text' => _('OpenID'),
- 'image' => $this->path("icons/openid-16x16.gif"));
+ $oid->user_id = $profile->id;
+
+ if ($oid->find()) {
+ while ($oid->fetch()) {
+ $links[] = array('href' => $oid->display,
+ 'text' => _('OpenID'),
+ 'image' => $this->path("icons/openid-16x16.gif"));
+ }