Commit 57c78bf9 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 254729: fix editproducts.cgi generated warnings in the error log…

Patch for bug 254729: fix editproducts.cgi generated warnings in the error log when creating new products; patch by GavinS <bugzilla@chimpychompy.org>; r=vladd, a=justdave.
parent 8065d3b2
......@@ -434,6 +434,8 @@ if ($action eq 'new') {
my $existing_product = TestProduct($product);
if ($existing_product) {
# Check for exact case sensitive match:
if ($existing_product eq $product) {
print "The product '$product' already exists. Please press\n";
......@@ -450,7 +452,7 @@ if ($action eq 'new') {
PutTrailer($localtrailer);
exit;
}
}
my $version = trim($::FORM{version} || '');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment