Changeset 2537

Show
Ignore:
Timestamp:
04/20/08 12:35:52 (5 months ago)
Author:
PugFish
Message:

Fixed bug where label was not being set when using TRUE for Forge group labels

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/forge/libraries/Form_Group.php

    r2470 r2537  
    6363                else 
    6464                { 
    65                         $this->data['label'] = ($val === TRUE) ? ucwords(inflector::humanize($this->data['label'])) : $val; 
     65                        $this->data['label'] = ($val === TRUE) ? ucwords(inflector::humanize($val)) : $val; 
    6666                        return $this; 
    6767                }