Skip to content

Commit c39d744

Browse files
committed
fix: Null-safe operator added
Plugin hostname fetching reworked
1 parent af93156 commit c39d744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Updater/Update_Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function display_package_info( object|array|bool $result, $action, object
9595
return $result;
9696
}
9797

98-
$data = $this->handlers[ $this->get_hostname( $args->slug ) ]->get_remote_data( $args->slug );
98+
$data = $this->handlers[ $this->get_hostname( $args->slug ) ]?->get_remote_data( $args->slug );
9999

100100
return $data ? (object) $data : $result;
101101
}

0 commit comments

Comments
 (0)