From 5f1b60e45ee214cc6c7abd757f00d8cf00bb8240 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Oct 2007 13:58:29 +0000 Subject: [PATCH] Added message if adding of new host fails git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7645 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/gotomasses/class_goto_task.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/addons/gotomasses/class_goto_task.inc b/plugins/addons/gotomasses/class_goto_task.inc index cccb987dd..d53a4c2b4 100644 --- a/plugins/addons/gotomasses/class_goto_task.inc +++ b/plugins/addons/gotomasses/class_goto_task.inc @@ -105,6 +105,8 @@ class goto_task extends plugin $target = get_post("target_text"); if($this->is_valid_target($target) && !in_array($target,$this->Target)){ $this->Target[] = $target; + }else{ + print_red(_("You must specify a valid MAC address or host name.")); } } }else{ -- 2.30.2