mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
get comment from post
This commit is contained in:
parent
f4ebf7c261
commit
cdd6a494e2
|
@ -275,6 +275,11 @@ else if ($action == "sendlogindata" && $settings->_enableEmail) {
|
||||||
$userid = $_POST["userid"];
|
$userid = $_POST["userid"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$comment = '';
|
||||||
|
if (isset($_POST["comment"])) {
|
||||||
|
$comment = $_POST["comment"];
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($userid) || !is_numeric($userid) || intval($userid)<1) {
|
if (!isset($userid) || !is_numeric($userid) || intval($userid)<1) {
|
||||||
UI::exitError(getMLText("admin_tools"),getMLText("invalid_user_id"));
|
UI::exitError(getMLText("admin_tools"),getMLText("invalid_user_id"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user