summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8818e82)
raw | patch | inline | side by side (parent: 8818e82)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Mar 2008 09:02:41 +0000 (09:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Mar 2008 09:02:41 +0000 (09:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9338 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 209d1f83ab055dc834cdd9412ff6142f0a7bb0ff..7b55d77337bbeaf03a17f25be40dd6ffb37f0435 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
function get_ldap_link($sizelimit= FALSE)
{
-
- if(!is_resource($this->ldap->cid)){
+ if($this->ldap === NULL || !is_resource($this->ldap->cid)){
/* Build new connection */
$this->ldap= ldap_init ($this->current['SERVER'], $this->current['BASE'],