mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
fixed modtask.php
This commit is contained in:
@@ -30,7 +30,7 @@ if ($action == "edituser")
|
||||
$vip_added = ($_POST["vip_added"] == 'yes' ? 'yes' : 'no');
|
||||
$vip_until = ($_POST["vip_until"] ? $_POST["vip_until"] : null);
|
||||
|
||||
$warned = $_POST["warned"];
|
||||
$warned = $_POST["warned"] ?? '';
|
||||
$warnlength = intval($_POST["warnlength"] ?? 0);
|
||||
$warnpm = $_POST["warnpm"];
|
||||
$title = $_POST["title"];
|
||||
@@ -84,7 +84,7 @@ if ($action == "edituser")
|
||||
$updateset[] = "supportfor = " . sqlesc($supportfor);
|
||||
$updateset[] = "supportlang = ".sqlesc($supportlang);
|
||||
|
||||
if(get_user_class<=$cruprfmanage_class)
|
||||
if(get_user_class()<=$cruprfmanage_class)
|
||||
{
|
||||
$modcomment = $arr["modcomment"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user