aboutsummaryrefslogtreecommitdiffstats
path: root/packages/openbgpd/openbgpd_groups.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openbgpd/openbgpd_groups.xml')
-rw-r--r--packages/openbgpd/openbgpd_groups.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/openbgpd/openbgpd_groups.xml b/packages/openbgpd/openbgpd_groups.xml
index 6e80dbfe..01756311 100644
--- a/packages/openbgpd/openbgpd_groups.xml
+++ b/packages/openbgpd/openbgpd_groups.xml
@@ -108,7 +108,7 @@
</custom_php_resync_config_command>
<custom_php_validation_command>
$status = check_group_usage($_POST['groupname']);
- if($status)
- $input_errors[] = "Sorry this group is in use and cannot be deleted.";
+ if($status != "")
+ $input_errors[] = "Sorry this group is in use by {$staus} and cannot be deleted.";
</custom_php_validation_command>
</packagegui>