From 24c84f498e06f015aae2c91f869f3c637ccdc322 Mon Sep 17 00:00:00 2001 From: Jonathon Hill Date: Wed, 16 Nov 2016 20:36:16 -0500 Subject: [PATCH] Fixup 70ad9d5e9751cf92078f17f142bcf634e5b5f90f --- lib/Sp_Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sp_Api.php b/lib/Sp_Api.php index d381e41..abcaf67 100644 --- a/lib/Sp_Api.php +++ b/lib/Sp_Api.php @@ -389,7 +389,7 @@ public function uploadPhotoFromPath($eventId, $filepath, $albumId = null) ); $photos = array( - 'photo' => '@' . $filepath, + 'photo' => new CURLFile($filepath), ); return $this->_makeApiRequest($params, $photos);