Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Chat/Chat.php

    r873 r874  
    1414  {
    1515    $Num = dechex($Num);
    16     return (substr($Num, 4, 2).substr($Num, 2, 2).substr($Num, 0, 2));
     16    return substr($Num, 4, 2).substr($Num, 2, 2).substr($Num, 0, 2);
    1717  }
    1818
     
    2121    global $MonthNames;
    2222
    23     if (!$this->System->User->CheckPermission('Chat', 'Display')) return ('Nemáte oprávnění');
     23    if (!$this->System->User->CheckPermission('Chat', 'Display')) return 'Nemáte oprávnění';
    2424
    2525    if (array_key_exists('date', $_GET)) $Date = $_GET['date'];
     
    8181    else $Output .= 'V daném dni nebyly zaznamenány žádné zprávy.';
    8282    $Output .= '</div>';
    83     return ($Output);
     83    return $Output;
    8484  }
    8585}
Note: See TracChangeset for help on using the changeset viewer.