[Rt-commit] r7841 - in rt/branches/3.7-EXPERIMENTAL-TUNIS:
html/REST/1.0/Forms/ticket
clsung at bestpractical.com
clsung at bestpractical.com
Sat May 12 11:34:40 EDT 2007
Author: clsung
Date: Sat May 12 11:34:39 2007
New Revision: 7841
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/ticket/comment
Log:
r1047 at going04: clsung | 2007-05-12 23:34:36 +0800
- uploadInfo() require the (upload) file handle
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/ticket/comment
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/ticket/comment (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/ticket/comment Sat May 12 11:34:39 2007
@@ -102,7 +102,7 @@
if ($fh) {
my $buf;
my ($w, $tmp) = tempfile();
- my $info = $cgi->uploadInfo();
+ my $info = $cgi->uploadInfo($fh);
while (sysread($fh, $buf, 8192)) {
syswrite($w, $buf);
More information about the Rt-commit
mailing list