From: hickert Date: Wed, 24 Oct 2007 13:58:29 +0000 (+0000) Subject: Added message if adding of new host fails X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5f1b60e45ee214cc6c7abd757f00d8cf00bb8240;p=gosa.git Added message if adding of new host fails git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7645 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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{