Changeset 258

Show
Ignore:
Timestamp:
08/28/06 23:49:59 (6 years ago)
Author:
john
Message:

fixing quoted_attributes()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/active_record.php

    r257 r258  
    21572157            $type = $this->attribute_is_string($key, $column) ? "Text" : "Integer"; 
    21582158            $value = self::$db->quote($value, $type); 
    2159             if($value == 'NULL' && stristr($field_info['flags'], "not_null")) { 
     2159            if($value == 'NULL' && stristr($column['flags'], "not_null")) { 
    21602160                $value = "''";     
    21612161            }