зеркало из https://github.com/mozilla/pjs.git
Bug 145795: editcomponents had error messages referring to products where it should've been components.
r=bbaetz,afranke
This commit is contained in:
Родитель
da5d386366
Коммит
939cc8d014
|
@ -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");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче