From: hickert Date: Fri, 14 Jan 2011 13:59:37 +0000 (+0000) Subject: Updated netatalk class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd6bf222416f4bdcb3122dd12787e0a7b5e2671f;p=gosa.git Updated netatalk class git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20588 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }