projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6652100
)
* Fixed a bug: did not create the underlying resultset if neither ->next or ->reset...
Norbert Buchmuller [Sat, 15 Nov 2008 03:48:51 +0000 (
04:48
+0100)]
lib/DBIx/Class/ResultSetColumn.pm
patch
|
blob
|
blame
|
history
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;
}