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 $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';
|
||||||
|
|
Loading…
Reference in a new issue