From 883adddeb699e0f9024dcd6d861e90200d4438c1 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Dec 2005 11:48:04 +0000 Subject: [PATCH] Fixed erroFixed errorr git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2358 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_opengwAccount.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()){ -- 2.30.2