From: jouni%heikniemi.net <>
Date: Thu, 4 Jul 2002 18:13:50 +0000 (+0000)
Subject: Bug 145795: editcomponents had error messages referring to products where it should...
X-Git-Tag: bugzilla-2.17.1~281
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75737e467cad4d82c34f51103e33706af0bfa5ce;p=thirdparty%2Fbugzilla.git
Bug 145795: editcomponents had error messages referring to products where it should've been components.
r=bbaetz,afranke
---
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 4f76593df6..576f013759 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -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.
\n";
+ print "Updated component name.
\n";
}
SendSQL("UNLOCK TABLES");