diff --git a/module/branch/view/manage.html.php b/module/branch/view/manage.html.php
index 276448f2ff..b11829ad8d 100644
--- a/module/branch/view/manage.html.php
+++ b/module/branch/view/manage.html.php
@@ -72,9 +72,9 @@
default)
{
- echo '' . $lang->branch->default . '';
+ echo '' . $lang->branch->default . '';
}
- else
+ elseif($branch->status == 'active')
{
$setDefaultLink = helper::createLink('branch', 'setDefault', "productID=$productID&branchID=$branch->id", '', true);