mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 19:54:24 +02:00
Fix issue processwire/processwire-issues#820
This commit is contained in:
@@ -343,7 +343,7 @@ class CommentNotifications extends Wire {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if($fieldtype->updateComment($page, $field, $comment, $properties)) {
|
if($fieldtype->updateComment($page, $field, $comment, $properties)) {
|
||||||
$info['message'] = "Updated comment $comment->id to '$action'";
|
$info['message'] = sprintf($this->_('Updated comment %d to “%s”'), $comment->id, $action);
|
||||||
$info['success'] = true;
|
$info['success'] = true;
|
||||||
$this->wire('log')->message($info['message']);
|
$this->wire('log')->message($info['message']);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user