diff --git a/CHANGELOG.md b/CHANGELOG.md index 763e4d8..6812f1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v2.2.1](https://github.com/rciam/simplesamlphp-module-themevanilla/compare/v2.2.0...v2.2.1) - 2019-07-03 + +### Fixed + +- Fix syntax error in disco-tpl.php + ## [v2.2.0](https://github.com/rciam/simplesamlphp-module-themevanilla/compare/v2.1.0...v2.2.0) - 2019-06-27 ### Added diff --git a/themes/ssp/discopower/disco-tpl.php b/themes/ssp/discopower/disco-tpl.php index 022d76e..aec91d2 100644 --- a/themes/ssp/discopower/disco-tpl.php +++ b/themes/ssp/discopower/disco-tpl.php @@ -65,7 +65,7 @@ function showEntry($t, $metadata, $favourite = FALSE, $withIcon = FALSE) { if($withIcon) { - if(isset($metadata['login_button']['label']) && !isempty($metadata['login_button']['label'])) { + if(isset($metadata['login_button']['label']) && !empty($metadata['login_button']['label'])) { $label = $metadata['login_button']['label']; } $filename = $metadata['login_button']['icon_filename']; diff --git a/version.txt b/version.txt index ec7eb06..dec1187 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ simplesamlphp-module-themevanilla -version 2.2.0 +version 2.2.1