projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
* Fixed a bug: did not create the underlying resultset if neither ->next or ->reset...
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
ResultSetColumn.pm
diff --git
a/lib/DBIx/Class/ResultSetColumn.pm
b/lib/DBIx/Class/ResultSetColumn.pm
index
3585d17
..
5a5f26d
100644
(file)
--- a/
lib/DBIx/Class/ResultSetColumn.pm
+++ b/
lib/DBIx/Class/ResultSetColumn.pm
@@
-137,7
+137,7
@@
Much like L<DBIx::Class::ResultSet/first> but just returning the one value.
sub first {
my $self = shift;
- my ($row) = $self->{_resultset}->cursor->reset->next;
+ my ($row) = $self->_resultset->cursor->reset->next;
return $row;
}