Skip to content

Commit

Permalink
Minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Imhodad authored Oct 10, 2024
1 parent 8c4a0ae commit e498c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ function getSearchWordArray($amount = false) {
}
}
}
closedir($dh);
}
closedir($dh);
arsort($wordArray);
if($amount && is_numeric($amount)) {
$wordArray = array_slice($wordArray, 0, $amount);
Expand All @@ -74,4 +74,4 @@ function _getSaveFolder() {

}

?>
?>

0 comments on commit e498c4b

Please sign in to comment.