Skip to content

Commit

Permalink
Fix errors in search view of module update (#981)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 authored Jun 17, 2024
1 parent 2d95d61 commit dacdc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modules/admin/views/admin/modules/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function checkOwnDependencies($versionsOfModules, $moduleOnUpdateServer)
title="<?=$this->getTrans('ilchCoreError') ?>">
<i class="<?=$iconClass ?>"></i>
</button>
<?php elseif (version_compare($versionsOfModules[$moduleOnUpdateServer->key]['version'], $moduleOnUpdateServer->version, '<') && version_compare('2.2.0', $moduleOnUpdateServer->ilchCore, '>')): ?>
<?php elseif ($isInstalled && version_compare($versionsOfModules[$moduleOnUpdateServer->key]['version'], $moduleOnUpdateServer->version, '<') && version_compare('2.2.0', $moduleOnUpdateServer->ilchCore, '>')): ?>
<button class="btn disabled"
title="<?=$this->getTrans('moduleTooOld') ?>">
<i class="<?=$iconClass ?>"></i>
Expand Down

0 comments on commit dacdc21

Please sign in to comment.