fix "Please fill all input"

This commit is contained in:
slawkens 2023-02-06 19:39:12 +01:00
parent 958681bdc9
commit 94719b45b2

View File

@ -39,7 +39,7 @@ if(!empty($action))
if($action == 'new') {
if(Changelog::add($body, $type, $where, $player_id, $create_date, $errors)) {
if(isset($body) && Changelog::add($body, $type, $where, $player_id, $create_date, $errors)) {
$body = '';
$type = $where = $player_id = $create_date = 0;