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 $ref;
global $username; global $username;
global $db; global $db;
if (!$username) getOut('root','root'); if (!$username || !array_key_exists('post',$_POST)) return;
if (!array_key_exists('post',$_POST)) return;
$postie = $_POST['post']; $postie = $_POST['post'];
$postType = (array_key_exists('type',$_POST)) ? $_POST['type'] : 'root'; $postType = (array_key_exists('type',$_POST)) ? $_POST['type'] : 'root';