From c52d370a62786537b1bf9d7514acfb75282347f0 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Dec 2005 07:13:19 +0000 Subject: [PATCH] ogw fix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2347 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_opengw.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/class_opengw.inc b/include/class_opengw.inc index 6d1021984..6ecf100a8 100755 --- a/include/class_opengw.inc +++ b/include/class_opengw.inc @@ -42,8 +42,10 @@ class ogw{ } function SetInfos($infos) - { - $infos['name1'] = $infos['name']; + { + if(isset($infos['name'])) { + $infos['name1'] = $infos['name']; + } $this->info = $infos; } -- 2.30.2