diff --git a/modules/github/modules.php b/modules/github/modules.php index dcac6ee461..0bf38c8aab 100644 --- a/modules/github/modules.php +++ b/modules/github/modules.php @@ -356,7 +356,7 @@ public function process() { $this->out('message_list_since', $this->user_config->get('github_since_setting', DEFAULT_SINCE)); $this->out('per_source_limit', $this->user_config->get('github_limit_setting', DEFAULT_PER_SOURCE)); foreach ($repos as $repo) { - $this->append('data_sources', array('callback' => 'load_github_data', 'type' => 'github', 'name' => 'Github', 'id' => $repo)); + $this->append('data_sources', array('callback' => 'load_github_data', 'type' => 'github', 'name' => $repo, 'id' => $repo)); } } else { @@ -370,14 +370,14 @@ public function process() { $this->out('list_path', $path, false); } $this->out('custom_list_controls', ' '); - $this->append('data_sources', array('callback' => 'load_github_data', 'type' => 'github', 'name' => 'Github', 'id' => $repo)); + $this->append('data_sources', array('callback' => 'load_github_data', 'type' => 'github', 'name' => $repo, 'id' => $repo)); } } elseif ($this->page == 'message_list' && ($path == 'combined_inbox' || $path == 'unread')) { $github_list = true; if (!$excluded || $path == 'combined_inbox') { foreach ($repos as $repo) { - $this->append('data_sources', array('callback' => 'load_github_data', 'type' => 'github', 'name' => 'Github', 'id' => $repo)); + $this->append('data_sources', array('callback' => 'load_github_data', 'type' => 'github', 'name' => $repo, 'id' => $repo)); } } }