diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-03-23 10:48:38 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-03-23 10:48:38 +0100 |
commit | 8ae0948568a6c6944e475c0d6133776d0256940f (patch) | |
tree | f49a6771ffcffc1bfdb37d74735acda61b4a5a5e /inc | |
parent | f914ba96dd52d197d1dbdf3dca68bf7dfc3b8380 (diff) | |
download | rpg-8ae0948568a6c6944e475c0d6133776d0256940f.tar.gz rpg-8ae0948568a6c6944e475c0d6133776d0256940f.tar.bz2 |
fix for putAttachment
Diffstat (limited to 'inc')
-rw-r--r-- | inc/RemoteAPICore.php | 2 |
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)) { |