Code

fixed config generation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jan 2006 09:30:08 +0000 (09:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jan 2006 09:30:08 +0000 (09:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2549 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_config.inc

index ae0b8f63d3d9a32425fa9e070925a1418d701ff5..f91dd2a549e7ecf31a22af9fd813e515f9bd6e0a 100644 (file)
@@ -395,7 +395,10 @@ class config  {
        /* Load Terminalservers */
        $ldap->cd ($this->current['BASE']);
        $ldap->search ("(objectClass=goTerminalServer)");
+       $this->data['SERVERS']['TERMINAL']= array();
        $this->data['SERVERS']['TERMINAL'][]= "default";
+
+       $this->data['SERVERS']['FONT']= array();
        $this->data['SERVERS']['FONT'][]= "default";
        while ($attrs= $ldap->fetch()){
                $this->data['SERVERS']['TERMINAL'][]= $attrs["cn"][0];