Commit 75737e46 authored by jouni%heikniemi.net's avatar jouni%heikniemi.net

Bug 145795: editcomponents had error messages referring to products where it…

Bug 145795: editcomponents had error messages referring to products where it should've been components. r=bbaetz,afranke
parent 762b9924
...@@ -772,7 +772,7 @@ if ($action eq 'update') { ...@@ -772,7 +772,7 @@ if ($action eq 'update') {
if ($component ne $componentold) { if ($component ne $componentold) {
unless ($component) { unless ($component) {
print "Sorry, I can't delete the product name."; print "Sorry, but a component must have a name.";
PutTrailer($localtrailer); PutTrailer($localtrailer);
SendSQL("UNLOCK TABLES"); SendSQL("UNLOCK TABLES");
exit; exit;
...@@ -795,7 +795,7 @@ if ($action eq 'update') { ...@@ -795,7 +795,7 @@ if ($action eq 'update') {
AND program=" . SqlQuote($product)); AND program=" . SqlQuote($product));
unlink "data/versioncache"; unlink "data/versioncache";
print "Updated product name.<BR>\n"; print "Updated component name.<BR>\n";
} }
SendSQL("UNLOCK TABLES"); SendSQL("UNLOCK TABLES");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment