]> git.koha-community.org Git - koha.git/commit
Prevent js failure if syspref "gist" is undefined.
authorJoe Atzberger <joe.atzberger@liblime.com>
Wed, 21 Jan 2009 01:18:22 +0000 (19:18 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 2 Feb 2009 14:20:54 +0000 (08:20 -0600)
commit8b402f82dfac4c6e3b98b7c607ed7b0227d9f84f
tree0f5874a66d86333ca3b886c3561f83e11d244735
parent01230ccd5ed92cea7d57d675f2e584c9d2165c0b
Prevent js failure if syspref "gist" is undefined.

The javascript is malformed and therefore fails the onsubmit check if
gist does not receive a value.  This patch allows failover to default 0.
Also removed an unused dbh.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
acqui/neworderempty.pl