We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea85892 commit ae53e36Copy full SHA for ae53e36
cache.php
@@ -286,7 +286,8 @@ function sort_list(&$list) {
286
287
<tbody>
288
<?php foreach( sort_list($apc['cache']['cache_list']) as $item ):
289
- if( !preg_match(get_selector(), $item['key']) || ( !isset( $_GET['apc_show_expired'] ) && $item['mtime'] + $item['ttl'] < time() ) ) continue;?>
+ $expired = !isset( $_GET['apc_show_expired'] ) && $item['ttl'] > 0 && $item['mtime'] + $item['ttl'] < time();
290
+ if( !preg_match(get_selector(), $item['key']) || $expired ) continue;?>
291
<tr>
292
<td><?=$item['key']?></td>
293
<td><?=$item['nhits']?></td>
0 commit comments