diff options
Diffstat (limited to 'controllers')
| -rw-r--r-- | controllers/micropub.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/controllers/micropub.php b/controllers/micropub.php index 871c9cf..a1c3a26 100644 --- a/controllers/micropub.php +++ b/controllers/micropub.php @@ -52,7 +52,7 @@ $app->post('/micropub/multipart', function() use($app) {        if(!$error) {          $file_path = $file['tmp_name'];          correct_photo_rotation($file_path); -        $r = micropub_post_for_user($user, $_POST, $file_path); +        $r = micropub_post_for_user($user, $_POST, $file);        } else {          $r = array('error' => $error);        } | 
