diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 7ed7be8..4c7e49f 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -139,7 +139,7 @@ {% endif %} - {% if repo_admin and branchname != 'master' %} + {% if repo_admin and branchname and branchname != 'master' %}