|
@@ 40-42 (lines=3) @@
|
| 37 |
|
|
| 38 |
|
// Read comments template |
| 39 |
|
// Set page id for comments form |
| 40 |
|
if ($comments != FALSE) { |
| 41 |
|
$this->cache->store('comments_' . $item_id . $this->module, $comments, $this->cache_ttl, 'comments'); |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
$comment_ch = []; |
| 45 |
|
|
|
@@ 91-93 (lines=3) @@
|
| 88 |
|
|
| 89 |
|
// Read comments template |
| 90 |
|
// Set page id for comments form |
| 91 |
|
if ($comments != FALSE) { |
| 92 |
|
$this->cache->store('comments_' . $item_id . $this->module, $comments, $this->cache_ttl, 'comments'); |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
if ($comments != null) { |
| 96 |
|
$comments_count = count($comments); |