From: hickert Date: Thu, 29 May 2008 09:59:07 +0000 (+0000) Subject: Fixed snapshot restore && create acl checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=85644c6e2a3c3f99e15837dfe064893901a91ae5;p=gosa.git Fixed snapshot restore && create acl checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11103 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);