mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 20:13:27 +02:00
fix "Please fill all input"
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user