From 2a31127152535e344d95bf423a40ec99af5c4dc8 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sun, 3 Feb 2013 15:44:52 -0500 Subject: [PATCH] Contents weren't being passed in when a label was present --- classes/HTML.php | 2 +- jar.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/HTML.php b/classes/HTML.php index f4a1c66..4d5f283 100644 --- a/classes/HTML.php +++ b/classes/HTML.php @@ -75,7 +75,7 @@ class HTML extends Object $label = $this->label($attributes['label']); } - return $label . $this->$method($attributes); + return $label . $this->$method($attributes, $contents); } else { diff --git a/jar.php b/jar.php index a7af888..3b6f9bc 100755 --- a/jar.php +++ b/jar.php @@ -4234,7 +4234,7 @@ class HTML extends Object $label = $this->label($attributes['label']); } - return $label . $this->$method($attributes); + return $label . $this->$method($attributes, $contents); } else {