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
Родитель da5d386366
Коммит 939cc8d014
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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");