Changeset 3254

Show
Ignore:
Timestamp:
08/04/2008 08:23:25 PM (4 months ago)
Author:
Shadowhand
Message:

Fixing #704, thanks littfed.

Files:
1 modified

Legend:

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

    r2701 r3254  
    3737         * @return  void 
    3838         */ 
    39         public function __construct($action = '', $title = '', $method = NULL, $attr = array()) 
     39        public function __construct($action = NULL, $title = '', $method = NULL, $attr = array()) 
    4040        { 
    4141                // Set form attributes 
     
    157157        { 
    158158                $status = TRUE; 
    159                 foreach ($this->inputs as $input) 
     159 
     160                $inputs = array_merge($this->hidden, $this->inputs); 
     161 
     162                foreach ($inputs as $input) 
    160163                { 
    161164                        if ($input->validate() == FALSE)