From: hickert Date: Tue, 20 Dec 2005 11:48:04 +0000 (+0000) Subject: Fixed erroFixed errorr X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=883adddeb699e0f9024dcd6d861e90200d4438c1;p=gosa.git Fixed erroFixed errorr git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2358 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/connectivity/class_opengwAccount.inc b/plugins/personal/connectivity/class_opengwAccount.inc index 042c2b9e0..6b83bdbd6 100644 --- a/plugins/personal/connectivity/class_opengwAccount.inc +++ b/plugins/personal/connectivity/class_opengwAccount.inc @@ -64,7 +64,11 @@ class opengwAccount extends plugin if($this->handle->connected){ /* Set login name, to check if this is_account */ - $this->handle->info['login'] = $this->attrs['uid'][0]; + if(isset($this->attrs['uid'][0])){ + $this->handle->info['login'] = $this->attrs['uid'][0]; + }else{ + $this->handle->info['login'] = ""; + } /* If this is account get data from database first */ if($this->handle->CheckExistence()){