Changeset 1849
- Timestamp:
- 04/11/08 00:41:33 (5 months ago)
- Files:
-
- branches/feature-narrow-tables/lib/MT/Meta/Proxy.pm (modified) (1 diff)
- branches/feature-narrow-tables/lib/MT/Object.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/feature-narrow-tables/lib/MT/Meta/Proxy.pm
r1836 r1849 177 177 or Carp::croak("Metadata $field on $pkg not found."); 178 178 my $type = $meta->{type}; 179 my $meta_is_blob = ($meta_obj->properties->{column_defs}->{$type}||'') eq 'blob'; 179 180 my $meta_col_def = $meta_obj->column_def($type); 181 my $meta_is_blob = $meta_col_def ? $meta_col_def->{type} eq 'blob' : 0; 180 182 181 183 ## xxx can be a hook? branches/feature-narrow-tables/lib/MT/Object.pm
r1844 r1849 1155 1155 *__parse_def = \&MT::Object::__parse_def; 1156 1156 *count = \&MT::Object::count; 1157 *columns_of_type = \&MT::Object::columns_of_type; 1157 1158 1158 1159 # TODO: copy this too
