clean up MAC change reporting, graph error size

git-svn-id: http://www.observium.org/svn/observer/trunk@1734 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-11-23 14:32:37 +00:00
parent 88aa15d001
commit 22620145eb
3 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ function graph_error ($string)
{
global $width, $height;
header('Content-type: image/png');
if($height > "99") { $width +=76; }
if($height > "99") { $width +=75; }
$im = imagecreate($width, $height);
$orange = imagecolorallocate($im, 255, 225, 225);
$px = (imagesx($im) - 7.5 * strlen($string)) / 2;