Skip to content

Commit

Permalink
Change !empty to isset
Browse files Browse the repository at this point in the history
  • Loading branch information
Takika authored Aug 22, 2022
1 parent fe44fff commit 62c27f0
Showing 1 changed file with 1 addition and 1 deletion.
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 62c27f0

Please sign in to comment.