From 7888c57e5e76f091220b10c06cabca8e307514de Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 4 Dec 2007 12:58:55 +0000 Subject: [PATCH] Closes #217 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7999 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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.= "