summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwhine.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/whine.pl b/whine.pl
index bfe6abcc1..82bfc933b 100755
--- a/whine.pl
+++ b/whine.pl
@@ -489,7 +489,7 @@ sub run_queries {
sub get_query {
my ($name, $user) = @_;
my $qname = $name;
- $sth_get_query->execute($user->{'id'}, $qname);
+ $sth_get_query->execute($user->id, $qname);
my $fetched = $sth_get_query->fetch;
$sth_get_query->finish;
return $fetched ? $fetched->[0] : '';