logout fix

This commit is contained in:
biglyderv 2024-12-06 10:19:57 -05:00
parent 8abdde750c
commit d6a6ce1ffc

View file

@ -19,8 +19,7 @@
global $ref;
global $username;
global $db;
if (!$username) getOut('root','root');
if (!array_key_exists('post',$_POST)) return;
if (!$username || !array_key_exists('post',$_POST)) return;
$postie = $_POST['post'];
$postType = (array_key_exists('type',$_POST)) ? $_POST['type'] : 'root';