Code

add missing name to xml tag name
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Jul 2009 13:48:47 +0000 (13:48 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Jul 2009 13:48:47 +0000 (13:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13892 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/opsi_com.pm

index 957b7e67fe21f421a34524d504e5a471b9f7e472..0ff2aba7035710dd1e98e89d8e67f1d62538d694 100644 (file)
@@ -475,7 +475,7 @@ sub opsi_get_netboot_products {
                             my $description= xml_quote($tres->{'description'});
                             $name=~ s/\//\\\//;
                             $description=~ s/\//\\\//;
-                            $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name><\/name><description>$description<\/description><\/item>$state<xxx><\/xxx>/;
+                            $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name>$name<\/name><description>$description<\/description><\/item>$state<xxx><\/xxx>/;
                         }
                     }
                 }
@@ -498,7 +498,7 @@ sub opsi_get_netboot_products {
                     my $description= xml_quote($tres->{'description'});
                     $name=~ s/\//\\\//;
                     $description=~ s/\//\\\//;
-                    $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name><\/name><description>$description<\/description><\/item><xxx><\/xxx>/;
+                    $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name>$name<\/name><description>$description<\/description><\/item><xxx><\/xxx>/;
                 }
             }
 
@@ -1050,7 +1050,7 @@ sub opsi_get_local_products {
                             my $description= xml_quote($tres->{'description'});
                             $name=~ s/\//\\\//;
                             $description=~ s/\//\\\//;
-                            $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name><\/name><description>$description<\/description><\/item>$state<xxx><\/xxx>/;
+                            $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name>$name<\/name><description>$description<\/description><\/item>$state<xxx><\/xxx>/;
                         }
 
                     }
@@ -1074,7 +1074,7 @@ sub opsi_get_local_products {
                     my $description= xml_quote($tres->{'description'});
                     $name=~ s/\//\\\//;
                     $description=~ s/\//\\\//;
-                    $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name><\/name><description>$description<\/description><\/item><xxx><\/xxx>/;
+                    $xml_msg=~ s/<xxx><\/xxx>/\n<item><productId>$r<\/productId><name>$name<\/name><description>$description<\/description><\/item><xxx><\/xxx>/;
                 }
 
             }