From 79366d07c1b2b6768ef55dd141403bb9ca80a3eb Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 1 Feb 2010 10:15:00 +0000 Subject: [PATCH] Added last base check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15533 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/devices/class_deviceGeneric.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc index 76acbdbf1..3a3f2768e 100644 --- a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc +++ b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc @@ -112,6 +112,11 @@ class deviceGeneric extends plugin if(empty($this->vendor) || !$this->is_2byteHex($this->vendor)){ $message[]= msgPool::invalid(_("Vendor-ID"),"","","0x1234"); } + + // Check if a wrong base was supplied + if(!$this->baseSelector->checkLastBaseUpdate()){ + $message[]= msgPool::check_base(); + } /* Check if entry already exists */ if($this->cn != $this->orig_cn || $this->dn == "new"){ -- 2.30.2