--- render.php.old 2006-10-08 00:14:46.000000000 +0200 +++ render.php 2006-10-08 00:19:31.000000000 +0200 @@ -88,7 +88,9 @@ $x_offset_flag = 80; $odd = 1; foreach ($l as $key => $value) { - imageantialias($graph, TRUE); + if (function_exists('imageantialias')) { + imageantialias($graph, TRUE); + } if ($odd % 2) { $from = 199 - ($value / $y_scale * 200); if ($odd != 1) { @@ -99,7 +101,9 @@ $to = 199 - ($value / $y_scale * 200); imageline($graph, $x_offset_flag - 30, $from, $x_offset_flag, $to, $fillcolor); } - imageantialias($graph, FALSE); + if (function_exists('imageantialias')) { + imageantialias($graph, FALSE); + } $marker = $y_offset_bar + 5; imageline($graph, $marker, 204, $marker, 194, $fillcolor); $x_offset_bar = $x_offset_bar + 30;