We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a503418 commit af13adbCopy full SHA for af13adb
lib/SQL/Statement/Function.pm
@@ -223,7 +223,7 @@ sub value($)
223
map { _INSTANCE( $_, 'SQL::Statement::Term' ) ? $_->value($eval) : $_ } @{ $self->{PARAMS} };
224
foreach my $val (@vals)
225
{
226
- return $self->do_err(qq~Bad numeric expression '$val'!~)
+ return $owner->do_err(qq~Bad numeric expression '$val'!~)
227
unless ( defined( _NUMBER($val) ) );
228
}
229
$expr =~ s/\?(\d+)\?/$vals[$1]/g;
0 commit comments