diff --git a/daux.phar b/daux.phar index aee9b962..06d73438 100755 Binary files a/daux.phar and b/daux.phar differ diff --git a/libs/Format/Confluence/ContentPage.php b/libs/Format/Confluence/ContentPage.php index fdf0e244..4e4b074c 100644 --- a/libs/Format/Confluence/ContentPage.php +++ b/libs/Format/Confluence/ContentPage.php @@ -21,7 +21,7 @@ function ($src, array $attributes, Raw $file) { $filename = basename($file->getPath()); //Add the attachment for later upload - $this->attachments[] = ['filename' => $filename, 'file' => $file]; + $this->attachments[$filename] = ['filename' => $filename, 'file' => $file]; return $this->createImageTag($filename, $attributes); }