Changeset 54 for trunk/index.php


Ignore:
Timestamp:
Feb 1, 2020, 1:57:23 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Seznamka.cz meet import.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r51 r54  
    4040  function IsAdmin()
    4141  {
    42     return ($_SESSION['IsAdmin'] == 1);
     42    return (array_key_exists('IsAdmin', $_SESSION) and ($_SESSION['IsAdmin'] == 1));
    4343  }
    4444
Note: See TracChangeset for help on using the changeset viewer.