summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/GL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm
index 613de866..a17580f0 100755
--- a/LedgerSMB/GL.pm
+++ b/LedgerSMB/GL.pm
@@ -298,7 +298,7 @@ sub all_transactions {
OR lower(ac.memo) LIKE $var
OR a.id IN (SELECT DISTINCT trans_id
FROM invoice
- WHERE lower(description) LIKE 'var))";
+ WHERE lower(description) LIKE $var))";
$apwhere .= " AND (lower(ct.name) LIKE $var
OR lower(ac.memo) LIKE $var