Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
 - PHP Deprecated:  Automatic conversion of false to array
  • Loading branch information
matt committed Dec 19, 2023
1 parent 5ab80d9 commit bbc43d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/class-scans-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public function issues_summary_by_post_type( $post_type ) {

$transient_name = $this->cache_name_prefix . '_issues_summary_by_post_type_' . $post_type;

$cache = get_transient( $transient_name );
$cache = get_transient( $transient_name, false );

if ( $this->cache_time && false !== $cache ) {

Expand Down

0 comments on commit bbc43d8

Please sign in to comment.