From d46386f9528feaa1241d81c3ca30322988cbcfeb Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 14 Oct 2008 13:52:32 +0000 Subject: [PATCH] Updated opsi Pruduct Property editor to use ACLs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12695 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc b/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc index 07304d11e..fee1b8746 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc @@ -33,7 +33,6 @@ class opsiProperties extends plugin { $ui =get_userinfo(); $acl = $ui->get_permissions($this->config->current['BASE'],"opsi/opsiProperties",""); - $smarty = get_smarty(); $smarty->assign("ACL",$acl); $smarty->assign("cfg",$this->cfg); @@ -46,6 +45,7 @@ class opsiProperties extends plugin */ public function save_object() { + $ui =get_userinfo(); $acl = $ui->get_permissions($this->config->current['BASE'],"opsi/opsiProperties",""); if(preg_match("/w/",$acl)){ foreach($this->cfg as $name => $value){ -- 2.30.2