projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
84c6503
)
in case there were no bindargs passed
Arthur Axel "fREW" Schmidt [Thu, 9 Sep 2010 21:37:06 +0000 (21:37 +0000)]
lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
b/lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
index
4cae709
..
5472e42
100644
(file)
--- a/
lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
+++ b/
lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
@@
-23,7
+23,7
@@
sub new {
sub print {
my $self = shift;
my $string = shift;
- my $bindargs = shift;
+ my $bindargs = shift || [];
my $use_placeholders = !!$self->_sqlat->fill_in_placeholders;