diff --git a/SourceGithub/SourceGithub.php b/SourceGithub/SourceGithub.php index 9e874cf..bdc1fef 100644 --- a/SourceGithub/SourceGithub.php +++ b/SourceGithub/SourceGithub.php @@ -132,10 +132,10 @@ $t_hub_reponame = $p_repo->info['hub_reponame']; } - if ( isset( $p_repo->info['hub_branch'] ) ) { - $t_hub_branch = $p_repo->info['hub_branch']; + if ( isset( $p_repo->info['master_branch'] ) ) { + $t_master_branch = $p_repo->info['master_branch']; } else { - $t_hub_branch = 'master'; + $t_master_branch = 'master'; } ?> > @@ -147,8 +147,8 @@ > - - + + info['hub_username'] = $f_hub_username; $p_repo->info['hub_reponame'] = $f_hub_reponame; - $p_repo->info['hub_branch'] = $f_hub_branch; + $p_repo->info['master_branch'] = $f_master_branch; return $p_repo; } @@ -243,7 +243,7 @@ } echo '
';
 
-		$t_branch = $p_repo->info['hub_branch'];
+		$t_branch = $p_repo->info['master_branch'];
 		if ( is_blank( $t_branch ) ) {
 			$t_branch = 'master';
 		}
diff --git a/SourceGithub/lang/strings_english.txt b/SourceGithub/lang/strings_english.txt
index a33da1e..a99a0af 100644
--- a/SourceGithub/lang/strings_english.txt
+++ b/SourceGithub/lang/strings_english.txt
@@ -18,4 +18,4 @@
 
 $s_plugin_SourceGithub_hub_username = 'GitHub Username';
 $s_plugin_SourceGithub_hub_reponame = 'GitHub Repository
(lowercase, dashed name)'; -$s_plugin_SourceGithub_hub_branch = 'Primary Branches
(comma-separated list)'; +$s_plugin_SourceGithub_master_branch = 'Primary Branches
(comma-separated list)';