diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 76e80312a..12b3200ab 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -2097,7 +2097,7 @@ $(document).ready( function() { if($r['comment']) { // $allcomments[''.$r['status']][] = htmlspecialchars($r['comment']); $m5 = md5(trim($r['comment'])); - if($allcomments[''.$r['status']][$m5]) + if(isset($allcomments[''.$r['status']][$m5])) $allcomments[''.$r['status']][$m5]['n']++; else $allcomments[''.$r['status']][$m5] = array('n'=>1, 'c'=>htmlspecialchars(trim($r['comment'])));