mach mal davor:
PHP-Code:
if(isset($_SESSION['uid'])){$_SESSION['uid'] = $mail['uid']}