diff options
Diffstat (limited to 'type')
| -rw-r--r-- | type/Base.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/type/Base.class.php b/type/Base.class.php index ee5050b..8d51121 100644 --- a/type/Base.class.php +++ b/type/Base.class.php | |||
| @@ -225,9 +225,11 @@ class Type_Base { | |||
| 225 | print '</pre>'; | 225 | print '</pre>'; |
| 226 | break; | 226 | break; |
| 227 | case 'canvas': | 227 | case 'canvas': |
| 228 | printf('<canvas id="%s" class="rrd">', sha1(serialize($graphoptions))); | ||
| 228 | foreach ($graphoptions as $d) { | 229 | foreach ($graphoptions as $d) { |
| 229 | printf("\"%s\"\n", htmlentities($d)); | 230 | printf("\"%s\"\n", htmlentities($d)); |
| 230 | } | 231 | } |
| 232 | print '</canvas>'; | ||
| 231 | break; | 233 | break; |
| 232 | case 'debug': | 234 | case 'debug': |
| 233 | case 1: | 235 | case 1: |
