mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
check if version_comment is set
This commit is contained in:
parent
35afca7996
commit
0db86055ab
|
@ -75,7 +75,7 @@ if($user->isAdmin()) {
|
|||
$owner = $user;
|
||||
}
|
||||
$comment = trim($_POST["comment"]);
|
||||
$version_comment = trim($_POST["version_comment"]);
|
||||
$version_comment = !empty($_POST["version_comment"]) ? trim($_POST["version_comment"]) : '';
|
||||
if($version_comment == "" && isset($_POST["use_comment"]))
|
||||
$version_comment = $comment;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user