diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..aa7ad5f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Change Log + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/) +and this project adheres to [Semantic Versioning](http://semver.org/). + +## [unrelease] - + +### Fixed + +- Prevent logo display issue. diff --git a/inc/export.class.php b/inc/export.class.php index 424406a..126b174 100644 --- a/inc/export.class.php +++ b/inc/export.class.php @@ -250,7 +250,7 @@ public static function generatePDF($users_id) $Author->getFromDB(Session::getLoginUserID()); // Logo - $logo = GLPI_PLUGIN_DOC_DIR . '/useditemsexport/logo.png'; + $logo_base64 = base64_encode(file_get_contents(GLPI_PLUGIN_DOC_DIR . '/useditemsexport/logo.png')); ob_start(); ?> @@ -261,7 +261,7 @@ public static function generatePDF($users_id) - +