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