Bug 145795: editcomponents had error messages referring to products where it should've been components.

r=bbaetz,afranke
This commit is contained in:
jouni%heikniemi.net 2002-07-04 11:13:50 +00:00
parent 40a67027f9
commit df13b24c40

View File

@ -772,7 +772,7 @@ if ($action eq 'update') {
if ($component ne $componentold) {
unless ($component) {
print "Sorry, I can't delete the product name.";
print "Sorry, but a component must have a name.";
PutTrailer($localtrailer);
SendSQL("UNLOCK TABLES");
exit;
@ -795,7 +795,7 @@ if ($action eq 'update') {
AND program=" . SqlQuote($product));
unlink "data/versioncache";
print "Updated product name.<BR>\n";
print "Updated component name.<BR>\n";
}
SendSQL("UNLOCK TABLES");