Skip to content

Commit

Permalink
Fixed issue #14148: Quota out is shown as completed in token list
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed May 23, 2019
1 parent ffe66a5 commit 2528b11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/models/TokenDynamic.php
Expand Up @@ -579,7 +579,9 @@ public function getValiduntilFormated()
private function getYesNoDateFormated($field)
{
if ($field != 'N' && $field != '') {
if ($field != 'Y') {
if ($field == 'Q') {
$field = '<span class="text-warning">'.gT('Quota out').'</span>';
} elseif ($field != 'Y') {
$fieldDate = convertToGlobalSettingFormat($field);
$field = '<span class="text-success">'.$fieldDate.'</span>';
} else {
Expand Down

0 comments on commit 2528b11

Please sign in to comment.