mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Ramon in my computer: Fixed the function 'cli_add_event_comment'. Ticket: #1456
This commit is contained in:
parent
6b68c268d4
commit
a3f22585c5
@ -2741,8 +2741,10 @@ sub cli_add_event_comment() {
|
||||
}
|
||||
else {
|
||||
$decoded_comment = decode_json($current_comment);
|
||||
push $decoded_comment, @additional_comment;
|
||||
$update->{'user_comment'} = encode_json $decoded_comment;
|
||||
|
||||
push(@{$decoded_comment}, @additional_comment);
|
||||
|
||||
$update->{'user_comment'} = encode_json($decoded_comment);
|
||||
}
|
||||
|
||||
pandora_update_event_from_hash ($update, 'id_evento', $id_event, $dbh);
|
||||
|
Loading…
x
Reference in New Issue
Block a user