projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ae32aaf
)
don't croak if no components when filtering column accessors
Rafael Kitover [Tue, 13 Apr 2010 06:52:36 +0000 (
02:52
-0400)]
lib/DBIx/Class/Schema/Loader/Base.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/Base.pm
b/lib/DBIx/Class/Schema/Loader/Base.pm
index
f69f0ca
..
c9dd108
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/Base.pm
+++ b/
lib/DBIx/Class/Schema/Loader/Base.pm
@@
-1401,7
+1401,7
@@
sub _resolve_col_accessor_collisions {
my ($self, $col_info) = @_;
my $base = $self->result_base_class || 'DBIx::Class::Core';
- my @components = map "DBIx::Class::$_", @{ $self->components };
+ my @components = map "DBIx::Class::$_", @{ $self->components || [] };
my @methods;