mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r342
фикс тупости git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@342 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
a7fabcaa5f
commit
2b4d431871
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class user_common
|
|||
$session_id = $this->sessiondata['sid'];
|
||||
|
||||
$login = (int) ($this->data['user_id'] != ANONYMOUS);
|
||||
$is_user = ($this->data['user_level'] == USER);
|
||||
$is_user = ($this->data['user_level'] != ADMIN);
|
||||
$user_id = (int) $this->data['user_id'];
|
||||
$mod_admin_session = ($this->data['user_level'] == ADMIN || $this->data['user_level'] == MOD);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue