From 61891c92bc2e96c425ccafc8c4493b136f237d00 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 14 Oct 2008 13:08:37 +0000 Subject: [PATCH] MAC is a must field git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12688 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/opsi/admin/opsi/class_opsi.inc | 2 +- gosa-plugins/opsi/admin/opsi/generic.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc index d837fe34b..73154219d 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi.inc @@ -63,7 +63,7 @@ class opsi extends gosaSupportDaemon /* Detect the target opsi host */ $opsi_hosts = $this->get_hosts_with_module("opsi_com"); - + /* Just use the first result of the opsi hosts */ if(count($opsi_hosts) == 1 && isset($opsi_hosts[0])){ diff --git a/gosa-plugins/opsi/admin/opsi/generic.tpl b/gosa-plugins/opsi/admin/opsi/generic.tpl index 742dbdc2e..9c6fb58cf 100644 --- a/gosa-plugins/opsi/admin/opsi/generic.tpl +++ b/gosa-plugins/opsi/admin/opsi/generic.tpl @@ -19,7 +19,7 @@ - {t}MAC address{/t} + {t}MAC address{/t}{$must} {else} @@ -28,7 +28,7 @@ - {t}MAC address{/t} + {t}MAC address{/t}{$must} {/if} -- 2.30.2