Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2020-05-18 07:07:18 +02:00
commit d524c5f48c

View File

@ -76,7 +76,7 @@ if ($accessop->check_controller_access($controller, array('action'=>'setOwner'))
$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;