From bd6bf222416f4bdcb3122dd12787e0a7b5e2671f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Jan 2011 13:59:37 +0000 Subject: [PATCH] Updated netatalk class git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20588 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc b/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc index 8620a262f..86303b937 100644 --- a/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc +++ b/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc @@ -102,6 +102,10 @@ class netatalk extends plugin { $this->get_netatalk_shares(); $this->apple_user_share = $this->selectedshare; + if(!$this->is_account){ + $this->apple_user_share = key($this->shares); + } + /* Save initial account state */ $this->initially_was_account = $this->is_account; } -- 2.30.2