Changeset 49 for trunk/Modules/Meet


Ignore:
Timestamp:
Dec 23, 2019, 12:06:10 AM (5 years ago)
Author:
chronos
Message:
  • Modified: Do not allow to access hidden meet item if not admin.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Meet/MeetPage.php

    r48 r49  
    162162    {
    163163      $MeetItem = $DbResult->fetch_assoc();
     164      if (($MeetItem['Hidden'] == '1') and !$this->System->IsAdmin())
     165        return 'Položka nenalezena';
    164166      if ($MeetItem['Link'] != '') $Link = '<a href="'.$MeetItem['Link'].'">Odkaz</a>';
    165167        else $Link = '';
Note: See TracChangeset for help on using the changeset viewer.