Skip to content

Commit

Permalink
Fixed issue #18048: Error message when managing ComfortUpdate key and…
Browse files Browse the repository at this point in the history
… key is expired
  • Loading branch information
c-schmitz committed Apr 25, 2022
1 parent 3393ec7 commit a75c3f4
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions application/views/admin/update/manage/manage_key.php
Expand Up @@ -38,10 +38,22 @@
<?php endif;?>
</td>
<td>
<?php echo convertToGlobalSettingFormat($updateKeyInfos->validuntil); ?>
<?php
if ($updateKeyInfos->result === false) {
eT($updateKeyInfos->error);
} else {
echo convertToGlobalSettingFormat($updateKeyInfos->validuntil);
}
?>
</td>
<td>
<?php echo $updateKeyInfos->remaining_updates; ?>
<?php
if ($updateKeyInfos->result === false) {
echo '-';
} else {
echo $updateKeyInfos->remaining_updates;
};
?>
</td>
<td>
<a data-post-url="<?php echo App()->createUrl('/admin/update/sa/delete_key');?>" class="btn btn-default" data-toggle="modal" data-target="#confirmation-modal" data-tooltip="true" title="<?php eT("Delete");?>" >
Expand Down

0 comments on commit a75c3f4

Please sign in to comment.