Skip to content
Permalink
Browse files

issue #1036 - fix float issue

  • Loading branch information...
teiling88 committed Mar 7, 2017
1 parent 27d2821 commit 59bce073551c5b7a02a4e02dcaca5103b3c3bd20
Showing with 1 addition and 1 deletion.
  1. +1 −1 htdocs/editlog.php
@@ -163,7 +163,7 @@
$rating_msg = mb_ereg_replace('{max}', floor($user_founds * $rating_percentage / 100), $rating_msg);
$rating_msg = mb_ereg_replace('{curr}', $user_tops, $rating_msg);
} else {
$anzahl = ($user_tops + 1 - ($user_founds * $rating_percentage / 100)) / ($rating_percentage / 100);
$anzahl = (int) (($user_tops + 1 - ($user_founds * $rating_percentage / 100)) / ($rating_percentage / 100));
if ($anzahl > 1) {
$rating_msg = mb_ereg_replace('{anzahl}', $anzahl, $rating_too_few_founds);
} else {

0 comments on commit 59bce07

Please sign in to comment.
You can’t perform that action at this time.