summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0abc5c)
raw | patch | inline | side by side (parent: f0abc5c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Dec 2007 12:59:40 +0000 (12:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Dec 2007 12:59:40 +0000 (12:59 +0000) |
-Don't display password only entries
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8000 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8000 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 4434f9cbc1e19df21c1801779ccb2e51f0d5f858..3d5de28c2a84d43f9b54196535b5e2638637592b 100644 (file)
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'])){