mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 00:30:21 -07:00
Fix ref to (unused) undefined constant
This commit is contained in:
parent
a6a22e7ea9
commit
776472e122
@ -412,8 +412,8 @@
|
||||
}
|
||||
*/
|
||||
//if ($loguserid != 3 && $loguserid != 2)
|
||||
if (($loguser['powerlevel'] <= 5) and (!IS_AJAX_REQUEST)) {
|
||||
$influencelv=calclvl(calcexp($loguser[posts],(ctime()-$loguser[regdate])/86400));
|
||||
if (($loguser['powerlevel'] <= 5) && (!defined("IS_AJAX_REQUEST") || !IS_AJAX_REQUEST)) {
|
||||
$influencelv=calclvl(calcexp($loguser['posts'],(ctime()-$loguser['regdate'])/86400));
|
||||
|
||||
// Alart #defcon?
|
||||
if ($loguser['lastip'] != $_SERVER['REMOTE_ADDR']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user