← All changes
|
libraries/freemius/templates/forms/license-activation.php
+2
-1
2.3.1
→
3.4
View file →
| @@ -308,8 +308,9 @@ | ||
| 308 | 308 | * @since 2.3.2 |
| 309 | 309 | */ |
| 310 | 310 | afterLicenseUserDataLoaded = function () { |
| 311 | 311 | if ( |
| 312 | + false !== otherLicenseOwnerID && | |
| 312 | 313 | null !== otherLicenseOwnerID && |
| 313 | 314 | otherLicenseOwnerID != <?php echo $fs->is_registered() ? $fs->get_user()->id : 'null' ?> |
| 314 | 315 | ) { |
| 315 | 316 | $ownershipChangeOptionContainer.show(); |
| @@ -568,9 +569,9 @@ | ||
| 568 | 569 | if ( isOtherLicenseKeySelected() ) { |
| 569 | 570 | licenseKey = $otherLicenseKey.val(); |
| 570 | 571 | } else { |
| 571 | 572 | if ( ! hasLicensesDropdown ) { |
| 572 | - licenseID = $availableLicenseKey.data( 'id' ); | |
| 573 | + licenseID = $availableLicenseKey.data( 'id' ).toString(); | |
| 573 | 574 | } else { |
| 574 | 575 | licenseID = $licensesDropdown.val(); |
| 575 | 576 | } |
| 576 | 577 | } |