mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-01 11:49:20 +02:00
fix "Please fill all input"
This commit is contained in:
parent
958681bdc9
commit
94719b45b2
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user