Changeset 23142 for main/trunk/greenstone2/cgi-bin
- Timestamp:
- 2010-10-15T00:37:58+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/cgi-bin/talkback-transfer.pl
r23138 r23142 66 66 require talkback; 67 67 68 my $oid = $gsdl_cgi-> {'oid'};69 my $collect = $gsdl_cgi-> {'collect'};68 my $oid = $gsdl_cgi->param('oid'); 69 my $collect = $gsdl_cgi->param('collect'); 70 70 71 71 # sanity check 72 72 if (!defined $oid || !defined $collect) { 73 73 print STDOUT "Content-type:text/plain\n\n"; 74 print STDOUT "ERROR: Malformed CGI argments. Nee ed to specify 'oid' and 'collect'\n";74 print STDOUT "ERROR: Malformed CGI argments. Need to specify 'oid' and 'collect'\n"; 75 75 exit 0; 76 76 } … … 88 88 [ 'yes_upload' => '1', 89 89 'process' => '1', 90 'oid' => $oid, 91 'collect' => $collect, 90 92 'uploadedfile' => [$docxml_filename, "$uniq_prefix-doc.xml"] 91 93 ],
Note:
See TracChangeset
for help on using the changeset viewer.