always return some arrayref
Matt S Trout [Sun, 13 Oct 2019 04:24:07 +0000 (04:24 +0000)]
lib/SQL/Abstract.pm

index 5c7282a..4954643 100644 (file)
@@ -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";
 }