From fc1e7a933372929d32f2d56a23b3c79e6e72439b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 14 Dec 2008 03:19:31 +0000 Subject: 1) fix Forge_Group to display the label (will raise a bug with Kohana) 2) Change form.html.php to use the group label instead of the name 3) Converted the add photo to explicity set the label of the field (new coding standard) --- modules/forge/libraries/Form_Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/forge/libraries/Form_Group.php b/modules/forge/libraries/Form_Group.php index 0c6dd100..ec6b3ff3 100644 --- a/modules/forge/libraries/Form_Group.php +++ b/modules/forge/libraries/Form_Group.php @@ -35,7 +35,7 @@ class Form_Group_Core extends Forge { public function __get($key) { - if ($key == 'type' || $key == 'name') + if ($key == 'type' || $key == 'name' || $key == 'label') { return $this->data[$key]; } -- cgit v1.2.3