Ramon in my computer: Fixed the function 'cli_add_event_comment'. Ticket: #1456
This commit is contained in:
parent
4fd4118828
commit
a483f68336
|
@ -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…
Reference in New Issue