Skip to content

Commit

Permalink
Merge pull request #39 from Takika/patch-1
Browse files Browse the repository at this point in the history
Fix composer config variable usage
  • Loading branch information
thomascube authored Sep 1, 2022
2 parents c4335e2 + 62c27f0 commit 060acc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Roundcube/Composer/PluginInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected function confirmInstall($package_name)
{
$config = $this->composer->getConfig()->get('roundcube');

if (!empty($config['enable-plugin'])) {
if (isset($config['enable-plugin'])) {
$answer = $config['enable-plugin'];
}
else {
Expand Down
2 changes: 1 addition & 1 deletion src/Roundcube/Composer/SkinInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected function confirmInstall($package_name)
{
$config = $this->composer->getConfig()->get('roundcube');

if (!empty($config['enable-skin'])) {
if (isset($config['enable-skin'])) {
$answer = $config['enable-skin'];
}
else {
Expand Down

0 comments on commit 060acc6

Please sign in to comment.