]> git.koha-community.org Git - koha.git/commit
bug 1953: fixing potential SQL injection problems in C4::Branch::GetBranches
authorAndrew Moore <andrew.moore@liblime.com>
Mon, 12 May 2008 19:34:44 +0000 (14:34 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 12 May 2008 20:07:17 +0000 (15:07 -0500)
commit56b9f5b8821b5824dae323a83840f5be6c29bd0e
tree02593756dab4e0c7bd57373b6957d6153e9d457f
parente67b1d5f2f799ebc31be2fababe8f2e2d1a32745
bug 1953: fixing potential SQL injection problems in C4::Branch::GetBranches

I moved C4::Branch::GetBranches to use bind parameters and wrote some tests to demonstrate functionality.

No functional or documentation changes here.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Branch.pm
t/lib/KohaTest/Branch.pm [new file with mode: 0644]
t/lib/KohaTest/Branch/GetBranches.pm [new file with mode: 0644]