@@ -, +, @@ not exist - Go to Home > Reports Guided reports wizard - Create report from SQL - Enter something like: select holdrio from borrowers - Save SQL - run report - Change sql to something like: select id from holdrio; - Save SQL - Run report - Change sql to something like: pling from plong - Save SQL - Apply patch - Try to reproduce issues above. They should be resolved. --- reports/guided_reports.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/reports/guided_reports.pl +++ a/reports/guided_reports.pl @@ -192,7 +192,7 @@ elsif ( $phase eq 'Update SQL'){ push @errors, {sqlerr => $1}; } elsif ($sql !~ /^(SELECT)/i) { - push @errors, {queryerr => 1}; + push @errors, {queryerr => "No SELECT"}; } if (@errors) { @@ -929,6 +929,7 @@ elsif ($phase eq 'Save Compound'){ # pass $sth, get back an array of names for the column headers sub header_cell_values { my $sth = shift or return (); + return '' unless ($sth->{NAME}); return @{$sth->{NAME}}; } --