summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/chart2.php')
-rw-r--r--frontends/php/chart2.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php
index 33b21322..8991e2ad 100644
--- a/frontends/php/chart2.php
+++ b/frontends/php/chart2.php
@@ -86,7 +86,10 @@
$y=imagesy($im);
ImageFilledRectangle($im,0,0,$sizeX+$shiftX+61,$sizeY+$shiftYup+$shiftYdown+10+50,$white);
- ImageRectangle($im,0,0,$x-1,$y-1,$black);
+ if(!isset($HTTP_GET_VARS["noborder"]))
+ {
+ ImageRectangle($im,0,0,$x-1,$y-1,$black);
+ }
// ImageRectangle($im,$shiftX+1,$shiftYup,$shiftX+$sizeX,$shiftYup+$sizeY, $black );
ImageDashedLine($im,$shiftX+1,$shiftYup,$shiftX+1,$sizeY+$shiftYup,$black);