Skip to content

Commit

Permalink
don't mix ProductId and ProductKey
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonéri Le Bouder committed Oct 19, 2012
1 parent 42e94f2 commit 751deee
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -22,9 +22,9 @@ sub _scanOffice {

my %license;
if ($currentKey->{'ProductID'}) {
$license{'KEY'} = $currentKey->{ProductID};
} elsif ($currentKey->{DigitalProductID}) {
$license{'KEY'} = getLicenseKey($currentKey->{DigitalProductID});
$license{'PRODUCTID'} = $currentKey->{ProductID};
} if ($currentKey->{DigitalProductID}) {
$license{'KEY'} = parseProductKey($currentKey->{DigitalProductID});
}
if ($currentKey->{ConvertToEdition}) {
$license{'FULLNAME'} = encodeFromRegistry($currentKey->{ConvertToEdition});
Expand Down

0 comments on commit 751deee

Please sign in to comment.