]> 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)
committerHenri-Damien LAURENT <henridamien@koha-fr.org>
Tue, 27 Jan 2009 11:19:48 +0000 (12:19 +0100)
commit0af920167e62279fce58aefa34c11e2dd4f09f89
tree8d1cbaa44544802200b87c10e77c672fa84cc152
parent4a55018ff6b2fe9ad104aeb30930460a70d20271
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: Henri-Damien LAURENT <henridamien@koha-fr.org>
acqui/neworderempty.pl