mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Fixed bug with doubles quotes in comments of events
This commit is contained in:
parent
2fe5cb3d84
commit
54c6f3965d
@ -4580,7 +4580,7 @@ function events_page_comments($event, $ajax=false)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$comments_array[] = json_decode(io_safe_output($comm), true);
|
$comments_array[] = io_safe_output(json_decode($comm, true));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If comments are not stored in json, the format is old.
|
// If comments are not stored in json, the format is old.
|
||||||
|
@ -5697,7 +5697,7 @@ function ui_print_comments($comments)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$comments_array[] = json_decode(io_safe_output($comm), true);
|
$comments_array[] = io_safe_output(json_decode($comm, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user