From: erickson Date: Thu, 6 Jul 2006 21:56:22 +0000 (+0000) Subject: added IDL dance X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=239b3f16f9e7fb6114ec687d3515110dff155a3d;p=Evergreen.git added IDL dance git-svn-id: svn://svn.open-ils.org/ILS/trunk@4921 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/offline/offline.pl b/Open-ILS/src/offline/offline.pl index 4a4efdadeb..286d77923f 100755 --- a/Open-ILS/src/offline/offline.pl +++ b/Open-ILS/src/offline/offline.pl @@ -12,6 +12,7 @@ use OpenILS::Utils::Fieldmapper; use Digest::MD5 qw/md5_hex/; use OpenSRF::Utils qw/:daemon/; use OpenILS::Utils::OfflineStore; +use OpenSRF::Utils::SettingsClient; use DBI; $DBI::trace = 1; @@ -56,6 +57,8 @@ sub ol_init { #_ol_debug_params(); $DB->DBFile($config{db}); OpenSRF::System->bootstrap_client(config_file => $bootstrap ); + Fieldmapper->import(IDL => + OpenSRF::Utils::SettingsClient->new->config_value("IDL")); } @@ -221,6 +224,9 @@ sub ol_handle_result { my $obj = shift; my $json = JSON->perl2JSON($obj); + # Clear this so it's not remembered + $evt = undef; + if( $cgi->param('html')) { my $html = ""; print "content-type: text/html\n\n";