mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
check if comment has been set already in list of receiption comments
This commit is contained in:
parent
c03566336a
commit
28e84443d8
|
@ -2097,7 +2097,7 @@ $(document).ready( function() {
|
||||||
if($r['comment']) {
|
if($r['comment']) {
|
||||||
// $allcomments[''.$r['status']][] = htmlspecialchars($r['comment']);
|
// $allcomments[''.$r['status']][] = htmlspecialchars($r['comment']);
|
||||||
$m5 = md5(trim($r['comment']));
|
$m5 = md5(trim($r['comment']));
|
||||||
if($allcomments[''.$r['status']][$m5])
|
if(isset($allcomments[''.$r['status']][$m5]))
|
||||||
$allcomments[''.$r['status']][$m5]['n']++;
|
$allcomments[''.$r['status']][$m5]['n']++;
|
||||||
else
|
else
|
||||||
$allcomments[''.$r['status']][$m5] = array('n'=>1, 'c'=>htmlspecialchars(trim($r['comment'])));
|
$allcomments[''.$r['status']][$m5] = array('n'=>1, 'c'=>htmlspecialchars(trim($r['comment'])));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user