diff options
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -136,6 +136,11 @@ while ($this_array = each($new_array)){ $value = $this_array['value']; $key = $this_array['key']; + // Only show last X entries if requested + if (isset($_GET['last']) && ($listsize > $_GET['last'] - 1)) { + break; + } + // Drop if on index ignore list if (in_array($value, $indexignore)) { continue; |