From: hickert Date: Wed, 5 Mar 2008 09:03:15 +0000 (+0000) Subject: Updated get_ldap_link X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4fec7142077ce5b5cfe3d19700b57f133b1e0a43;p=gosa.git Updated get_ldap_link git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9339 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 9ade720a7..963db36b3 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -216,7 +216,7 @@ class config { 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'],