Contents weren't being passed in when a label was present

This commit is contained in:
Josh Sherman 2013-02-03 15:44:52 -05:00
parent 3babea7dea
commit 2a31127152
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ class HTML extends Object
$label = $this->label($attributes['label']); $label = $this->label($attributes['label']);
} }
return $label . $this->$method($attributes); return $label . $this->$method($attributes, $contents);
} }
else else
{ {

View file

@ -4234,7 +4234,7 @@ class HTML extends Object
$label = $this->label($attributes['label']); $label = $this->label($attributes['label']);
} }
return $label . $this->$method($attributes); return $label . $this->$method($attributes, $contents);
} }
else else
{ {