summaryrefslogtreecommitdiffstats
path: root/whine.pl
diff options
context:
space:
mode:
Diffstat (limited to 'whine.pl')
-rwxr-xr-xwhine.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/whine.pl b/whine.pl
index 1f22b65fc..789cea79e 100755
--- a/whine.pl
+++ b/whine.pl
@@ -449,7 +449,7 @@ sub run_queries {
'params' => $searchparams,
'user' => $args->{'recipient'}, # the search runs as the recipient
);
- my $sqlquery = $search->getSQL();
+ my $sqlquery = $search->sql;
$sth = $dbh->prepare($sqlquery);
$sth->execute;