summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b427a4)
raw | patch | inline | side by side (parent: 6b427a4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jul 2008 08:47:26 +0000 (08:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jul 2008 08:47:26 +0000 (08:47 +0000) |
-$config wasn't initialized yet
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12040 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12040 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history |
index 1aaa8e800c557389bb2888cd22edbfe0a93dc820..ac5e1e47a9a0bcc3b32ffbde8db8bc1c188d473a 100644 (file)
$this->hostname=$hostname;
/* Check if MAX_LDAP_QUERY_TIME is defined */
- if($config->get_cfg_value("max_ldap_query_time") != ""){
+ if(is_object($config) && $config->get_cfg_value("max_ldap_query_time") != ""){
$str = $config->get_cfg_value("max_ldap_query_time");
$this->max_ldap_query_time = (float)($str);
}