Skip to content

Commit

Permalink
fix: checked property set error (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyreuter authored Aug 21, 2023
1 parent dac3059 commit 3083dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/src/PluginUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private function initialize(): void

public function modify_transient($transient): mixed
{
if (empty($checked = $transient->checked)) {
if (!property_exists($transient, 'checked') || empty($checked = $transient->checked)) {
return $transient;
}

Expand Down
2 changes: 1 addition & 1 deletion cerberus-plugins-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Plugin Name: Cerberus Plugins Manager
* Description: Manages the cerberus plugins
* Version: 1.1.0
* Version: 1.1.1
* Requires at least: 5.7
* Author: Casey
*/
Expand Down

0 comments on commit 3083dff

Please sign in to comment.