summaryrefslogtreecommitdiff
path: root/inc/RemoteAPICore.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-03-23 10:48:38 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-03-23 10:48:38 +0100
commit8ae0948568a6c6944e475c0d6133776d0256940f (patch)
treef49a6771ffcffc1bfdb37d74735acda61b4a5a5e /inc/RemoteAPICore.php
parentf914ba96dd52d197d1dbdf3dca68bf7dfc3b8380 (diff)
downloadrpg-8ae0948568a6c6944e475c0d6133776d0256940f.tar.gz
rpg-8ae0948568a6c6944e475c0d6133776d0256940f.tar.bz2
fix for putAttachment
Diffstat (limited to 'inc/RemoteAPICore.php')
-rw-r--r--inc/RemoteAPICore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php
index 450c6f39e..d8d4d5b7b 100644
--- a/inc/RemoteAPICore.php
+++ b/inc/RemoteAPICore.php
@@ -471,7 +471,7 @@ class RemoteAPICore {
// save temporary file
@unlink($ftmp);
- io_saveFile($ftmp, $file->getValue());
+ io_saveFile($ftmp, $file);
$res = media_save(array('name' => $ftmp), $id, $params['ow'], $auth, 'rename');
if (is_array($res)) {