diff --git a/daux.phar b/daux.phar index aee9b96..06d7343 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 fdf0e24..4e4b074 100644 --- a/libs/Format/Confluence/ContentPage.php +++ b/libs/Format/Confluence/ContentPage.php @@ -21,7 +21,7 @@ class ContentPage extends \Todaymade\Daux\Format\Base\ContentPage $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); }