Show
Ignore:
Timestamp:
04/25/09 09:50:22 (3 years ago)
Author:
john
Message:

updates and bug fixes

Location:
trunk/trax/vendor/trax/action_view
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_view/helpers.php

    r308 r311  
    147147            } 
    148148        } 
    149         return $value; 
     149        return stripslashes($value); 
    150150    } 
    151151 
  • trunk/trax/vendor/trax/action_view/helpers/form_helper.php

    r308 r311  
    196196        $options = $this->add_default_name_and_id($options); 
    197197        return $this->error_wrapping( 
    198                      $this->tag("input", $options), 
    199                      @array_key_exists($this->attribute_name, 
    200                                       (array)$this->object()->errors) 
    201                      ? true : false); 
     198            $this->tag("input", $options), 
     199            @array_key_exists($this->attribute_name, (array)$this->object()->errors)  
     200                ? true : false 
     201        ); 
    202202    } 
    203203