Skip to content

Commit 3083dff

Browse files
authored
fix: checked property set error (#15)
1 parent dac3059 commit 3083dff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

admin/src/PluginUpdater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private function initialize(): void
5858

5959
public function modify_transient($transient): mixed
6060
{
61-
if (empty($checked = $transient->checked)) {
61+
if (!property_exists($transient, 'checked') || empty($checked = $transient->checked)) {
6262
return $transient;
6363
}
6464

cerberus-plugins-manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Plugin Name: Cerberus Plugins Manager
55
* Description: Manages the cerberus plugins
6-
* Version: 1.1.0
6+
* Version: 1.1.1
77
* Requires at least: 5.7
88
* Author: Casey
99
*/

0 commit comments

Comments
 (0)