logout fix
This commit is contained in:
parent
8abdde750c
commit
d6a6ce1ffc
1 changed files with 1 additions and 2 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue