Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanieleAlessandra committed Apr 24, 2024
1 parent 28514bc commit 1228545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-freemius.php
Original file line number Diff line number Diff line change
Expand Up @@ -21349,7 +21349,7 @@ private function _sync_plugin_license(
* associated with that ID is not included in the user's licenses collection.
* Save previous value to manage remote license renewals.
*/
$was_license_expired_before_sync = $this->_license->is_expired();
$was_license_expired_before_sync = is_object( $this->_license ) && $this->_license->is_expired();
$this->_sync_licenses(
$site->license_id,
( $is_context_single_site ?
Expand Down

0 comments on commit 1228545

Please sign in to comment.