Skip to content
Snippets Groups Projects
Commit ff453fc3 authored by Ryan Dekker's avatar Ryan Dekker Committed by Volkan Jacobsen
Browse files

removing notice

parent f381a8fc
No related branches found
Tags 8.8.2
No related merge requests found
......@@ -471,7 +471,7 @@ function ajax_comments_entity_prepare_view($entities, $entity_type, $langcode) {
foreach ($entities as $id => $entity) {
$depth = count(explode('.', $entity->thread)) - 1;
$depth = isset($entity->thread) ? count(explode('.', $entity->thread)) - 1 : 0;
$entity->wrappers_to_close = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment