From: hickert Date: Tue, 4 Dec 2007 12:58:55 +0000 (+0000) Subject: Closes #217 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7888c57e5e76f091220b10c06cabca8e307514de;p=gosa.git Closes #217 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7999 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index f209ef1a0..98a7cb0d9 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -647,12 +647,20 @@ class environment extends plugin $hide = true; } + /* Skip apssword only entries */ + if( empty($this->gotoShares[$key]['server']) && + empty($this->gotoShares[$key]['name']) && + empty($this->gotoShares[$key]['mountPoint']) && + empty($this->gotoShares[$key]['Username'])){ + continue; + } + /* Check if entry starts with an ! */ if(preg_match("/^!/",$this->gotoShares[$key]['server'])){ /* If we are currently editing groups environment, skip those ! entries */ if($this->is_group) continue; - + /* Create pwd reset images */ if($this->gotoShares[$key]['PwdHash'] != "" && !$hide){ $img.= "