Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
Minor fix so that service names will show correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhobbs committed Jan 19, 2010
1 parent c963f52 commit 2313619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/GithubModel.php
Expand Up @@ -43,7 +43,7 @@ public function getServiceDescription() {
}

public function getAccountName() {
if ($name = $this->getProperty('title')) {
if ($name = $this->getProperty('username')) {
return $name;
}
else {
Expand All @@ -52,7 +52,7 @@ public function getAccountName() {
}

public function getTitle() {
if ($name = $this->getProperty('title')) {
if ($name = $this->getProperty('username')) {
return $name;
}
else {
Expand Down

0 comments on commit 2313619

Please sign in to comment.