From: rettenbe Date: Mon, 6 Jul 2009 13:48:47 +0000 (+0000) Subject: add missing name to xml tag name X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c2a078d945ecd68ef5c7e12f93563641bf80cdac;p=gosa.git add missing name to xml tag name git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13892 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/server/events/opsi_com.pm b/gosa-si/server/events/opsi_com.pm index 957b7e67f..0ff2aba70 100644 --- a/gosa-si/server/events/opsi_com.pm +++ b/gosa-si/server/events/opsi_com.pm @@ -475,7 +475,7 @@ sub opsi_get_netboot_products { my $description= xml_quote($tres->{'description'}); $name=~ s/\//\\\//; $description=~ s/\//\\\//; - $xml_msg=~ s/<\/xxx>/\n$r<\/productId><\/name>$description<\/description><\/item>$state<\/xxx>/; + $xml_msg=~ s/<\/xxx>/\n$r<\/productId>$name<\/name>$description<\/description><\/item>$state<\/xxx>/; } } } @@ -498,7 +498,7 @@ sub opsi_get_netboot_products { my $description= xml_quote($tres->{'description'}); $name=~ s/\//\\\//; $description=~ s/\//\\\//; - $xml_msg=~ s/<\/xxx>/\n$r<\/productId><\/name>$description<\/description><\/item><\/xxx>/; + $xml_msg=~ s/<\/xxx>/\n$r<\/productId>$name<\/name>$description<\/description><\/item><\/xxx>/; } } @@ -1050,7 +1050,7 @@ sub opsi_get_local_products { my $description= xml_quote($tres->{'description'}); $name=~ s/\//\\\//; $description=~ s/\//\\\//; - $xml_msg=~ s/<\/xxx>/\n$r<\/productId><\/name>$description<\/description><\/item>$state<\/xxx>/; + $xml_msg=~ s/<\/xxx>/\n$r<\/productId>$name<\/name>$description<\/description><\/item>$state<\/xxx>/; } } @@ -1074,7 +1074,7 @@ sub opsi_get_local_products { my $description= xml_quote($tres->{'description'}); $name=~ s/\//\\\//; $description=~ s/\//\\\//; - $xml_msg=~ s/<\/xxx>/\n$r<\/productId><\/name>$description<\/description><\/item><\/xxx>/; + $xml_msg=~ s/<\/xxx>/\n$r<\/productId>$name<\/name>$description<\/description><\/item><\/xxx>/; } }