From: Matt S Trout Date: Sun, 13 Oct 2019 04:24:07 +0000 (+0000) Subject: always return some arrayref X-Git-Tag: v1.90_03~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e9edda8d69d0c8faeb752dc319fe099c6aec729;p=dbsrgits%2FSQL-Abstract.git always return some arrayref --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 5c7282a..4954643 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -888,7 +888,7 @@ sub render_aqt { die "Not a node type: $k" unless $k =~ s/^-//; if (my $meth = $self->{render}{$k}) { local our $Render_Top_Level = $top_level; - return $self->$meth($k, $v); + return $self->$meth($k, $v)||[]; } die "notreached: $k"; }