Code

ogw fix
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Dec 2005 07:13:19 +0000 (07:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Dec 2005 07:13:19 +0000 (07:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2347 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_opengw.inc

index 6d102198490aee6c7e391ba9e498be7a2ed71f09..6ecf100a82b692f842a45401ce994f025d0d5260 100755 (executable)
@@ -42,8 +42,10 @@ class ogw{
   }
  
   function SetInfos($infos)
-  {   
-    $infos['name1']              = $infos['name'];
+  { 
+    if(isset($infos['name']))  {
+      $infos['name1']              = $infos['name'];
+    }
     $this->info = $infos;
   }