projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6607ee1
)
Added boolify to prevent if ($rs) blowing up on group_by'd resultsets
Matt S Trout [Fri, 20 Jan 2006 19:35:39 +0000 (19:35 +0000)]
lib/DBIx/Class/ResultSet.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSet.pm
b/lib/DBIx/Class/ResultSet.pm
index
ff7d8e9
..
a6d884a
100644
(file)
--- a/
lib/DBIx/Class/ResultSet.pm
+++ b/
lib/DBIx/Class/ResultSet.pm
@@
-4,6
+4,7
@@
use strict;
use warnings;
use overload
'0+' => 'count',
+ 'bool' => sub { 1; },
fallback => 1;
use Data::Page;
use Storable;