summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 19:19:07 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 19:19:07 +0000
commita8d9e9b654c06386ac6bba4f4dfcdd5bd3713d7e (patch)
tree372f2bb69d509aec82dfce62a7171cb17847013f
parent42ec42a631927438a50a865a2c02401b28ac5473 (diff)
Fixing bug 1624362
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@759 4979c152-3d1c-0410-bac9-87ea11338e46
-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