Changeset 1549

Show
Ignore:
Timestamp:
12/16/07 13:26:15 (8 months ago)
Author:
Shadowhand
Message:

Fixing up 2 lingering bugs with r1548.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modules/forge/libraries/Form_Checklist.php

    r1522 r1549  
    6363                $checklist .= '</ul>'; 
    6464 
    65                 return $checklist.$this->error_message()
     65                return $checklist
    6666        } 
    6767 
  • trunk/modules/forge/libraries/Form_Input.php

    r1548 r1549  
    271271                        return; 
    272272 
    273                 // Load POSTed value 
    274                 $this->data['value'] = self::$input->post($this->name); 
     273                if ($name = $this->name) 
     274                { 
     275                        // Load POSTed value, but only for named inputs 
     276                        $this->data['value'] = self::$input->post($name); 
     277                } 
    275278 
    276279                if (is_string($this->data['value']))