summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 19:18:13 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 19:18:13 +0000
commitadf1fe779f5e9ebea8295ac40dfb38ee0a396680 (patch)
tree8bdb437ea423c06687863a50161549ce8d08cf07
parent0e435524e81dac15e831f30d03cb08da7075082f (diff)
Fixing bug 1624362
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@758 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