From: hickert Date: Tue, 4 Dec 2007 12:59:40 +0000 (+0000) Subject: Fixed gotoEnviroment Shares X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=39aa64f4126870c5048cd1b78bd0f81848b15907;p=gosa.git Fixed gotoEnviroment Shares -Don't display password only entries git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8000 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 4434f9cbc..3d5de28c2 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -702,6 +702,14 @@ class environment extends plugin foreach($tmp as $key => $value){ $img = ""; + /* 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'])){