diff --git a/Lib/Formatter/Html.php b/Lib/Formatter/Html.php
index f92c6cb..2d1270d 100644
--- a/Lib/Formatter/Html.php
+++ b/Lib/Formatter/Html.php
@@ -13,12 +13,13 @@ class Html extends Formatter {
private function result($data) {
// the format is array('result' => array('funcname' => DATA))
// so take the first element of the 'result' array
+ $func = key($data['result']);
$data = reset($data['result']);
$first = reset($data);
$single = ! is_array($first);
- $content = '
';
+ $content = '
';
if($single) {
$content .= "
Field
Value
";
} else {
@@ -52,7 +53,11 @@ class Html extends Formatter {
}
$content .= '