]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 145795: editcomponents had error messages referring to products where it should...
authorjouni%heikniemi.net <>
Thu, 4 Jul 2002 18:13:50 +0000 (18:13 +0000)
committerjouni%heikniemi.net <>
Thu, 4 Jul 2002 18:13:50 +0000 (18:13 +0000)
r=bbaetz,afranke

editcomponents.cgi

index 4f76593df6679b4c9283577d4176ed75925e9c66..576f013759c6768933f918ed9cfcf3d40342af2f 100755 (executable)
@@ -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");