Skip to content

Commit

Permalink
Fixed undefined variable (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobd91 authored Dec 3, 2024
1 parent 7655741 commit 931cccb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ObjectCache_WpObjectCache_Regular.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@ public function flush_runtime() {
$this->cache = array();

if ( $this->_debug || $this->stats_enabled ) {
$time = Util_Debug::microtime();

$this->cache_flushes++;
$this->time_total += $time;

Expand All @@ -655,7 +657,7 @@ public function flush_runtime() {
'',
'',
0,
0,
(int) ( $time * 1000000 ),
)
);
}
Expand Down

0 comments on commit 931cccb

Please sign in to comment.