Merge 6eccca879c
into 6d3597095f
This commit is contained in:
commit
f4158debb4
|
@ -75,6 +75,7 @@ class Comment extends DataObject {
|
|||
// set the variables which have changed
|
||||
$comment->BaseClass = 'SiteTree';
|
||||
$comment->URL = (isset($pageComment['CommenterURL'])) ? $pageComment['CommenterURL'] : "";
|
||||
if((int)$pageComment['NeedsModeration'] == 0) $comment->Moderated = true;
|
||||
|
||||
$comment->write();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue