Skip to content

Commit

Permalink
fix: out of bounds array index
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed Jul 30, 2024
1 parent c8d957d commit cab5008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function add_notification( $all_notifications ) {
[ '{product}', '{developer}' ],
[
$this->product->get_friendly_name(),
$developers[ strlen( get_site_url() ) % 10 ],
$developers[ strlen( get_site_url() ) % count( $developers ) ],
],
$message
);
Expand Down

0 comments on commit cab5008

Please sign in to comment.