Fix charts

This commit is contained in:
2023-06-08 21:07:33 +02:00
parent c9b4372b34
commit 6c90033ede
4 changed files with 2 additions and 16 deletions

View File

@@ -8,11 +8,6 @@
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
$numb_users = ( isset($_GET['t']) ) ? intval($_GET['t']) : 0;
$matchdays = ( isset($_GET['m']) ) ? intval($_GET['m']) : 0;
@@ -96,6 +91,7 @@ for ($i = 1; $i < $count_values; $i++)
imageline($image, $i * $vert, ($graphValues4[$i - 1] * $horz), ($i + 1) * $vert, ($graphValues4[$i] * $horz), $colorRed);
}
// Output graph and clear image from memory
imagepng($image);
imagedestroy($image);