From 85644c6e2a3c3f99e15837dfe064893901a91ae5 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 29 May 2008 09:59:07 +0000 Subject: [PATCH] Fixed snapshot restore && create acl checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11103 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 1c7b2d87c..8ed7173a5 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -1979,7 +1979,7 @@ class plugin { $str= ""; $ui = get_userinfo(); - if($this->snapshotEnabled() && $ui->allow_snapshot_create($base,$category)){ + if($this->snapshotEnabled() && $ui->allow_snapshot_restore($base,$category)){ if(count($this->Available_SnapsShots($base))){ $str.= "snapshotEnabled() && $ui->allow_snapshot_create($base,$category)){ $str.= " "; + }else{ + $str = "  "; } return($str); -- 2.30.2