Changeset 258
- Timestamp:
- 08/28/06 23:49:59 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/active_record.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/active_record.php
r257 r258 2157 2157 $type = $this->attribute_is_string($key, $column) ? "Text" : "Integer"; 2158 2158 $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")) { 2160 2160 $value = "''"; 2161 2161 }
