mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +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"];
|
||||
}
|
||||
|
||||
$comment = '';
|
||||
if (isset($_POST["comment"])) {
|
||||
$comment = $_POST["comment"];
|
||||
}
|
||||
|
||||
if (!isset($userid) || !is_numeric($userid) || intval($userid)<1) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("invalid_user_id"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user