@@ 44-46 (lines=3) @@ | ||
41 | ||
42 | // Read comments template |
|
43 | // Set page id for comments form |
|
44 | if ($comments != FALSE) { |
|
45 | $this->cache->store('comments_' . $item_id . $this->module, $comments, $this->cache_ttl, 'comments'); |
|
46 | } |
|
47 | ||
48 | $comment_ch = []; |
|
49 | ||
@@ 95-97 (lines=3) @@ | ||
92 | ||
93 | // Read comments template |
|
94 | // Set page id for comments form |
|
95 | if ($comments != FALSE) { |
|
96 | $this->cache->store('comments_' . $item_id . $this->module, $comments, $this->cache_ttl, 'comments'); |
|
97 | } |
|
98 | ||
99 | if ($comments != null) { |
|
100 | $comments_count = count($comments); |