Osticket: Erro de classificação para banlist.inc.php

Criado em 3 nov. 2016  ·  2Comentários  ·  Fonte: osTicket/osTicket

Sob o branch de desenvolvimento e a versão 1.9.8.1 (pode outra versão também ter o mesmo erro), linha 113-116 em banlist.inc.php, a string "staff.php" deve ser alterada para "banlist.php". o tipo não funcionaria, mencionado na edição # 1725.

            <th width="56%"><a <?php echo $email_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=email"><?php echo __('Email Address');?></a></th>
            <th width="10%"><a  <?php echo $status_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=status"><?php echo __('Ban Status');?></a></th>
            <th width="10%"><a <?php echo $created_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=created"><?php echo __('Date Added');?></a></th>
            <th width="20%"><a <?php echo $updated_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=updated"><?php echo __('Last Updated');?></a></th>

para

        <th width="56%"><a <?php echo $email_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=email"><?php echo __('Email Address');?></a></th>
        <th width="10%"><a  <?php echo $status_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=status"><?php echo __('Ban Status');?></a></th>
        <th width="10%"><a <?php echo $created_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=created"><?php echo __('Date Added');?></a></th>
        <th width="20%"><a <?php echo $updated_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=updated"><?php echo __('Last Updated');?></a></th>
bug

Todos 2 comentários

Portanto, 1.9.8.1 é muito antigo neste momento. Você realmente deve atualizar sua versão.

Tenho uma solicitação pull pendente sobre esse problema. Obrigada.

Esta página foi útil?
0 / 5 - 0 avaliações