diff --git a/module/action/control.php b/module/action/control.php index f102b0dd47..90e1591ad7 100755 --- a/module/action/control.php +++ b/module/action/control.php @@ -113,7 +113,7 @@ class action extends control */ public function editComment($actionID) { - if(!strip_tags($this->post->lastComment)) die(js::locate($this->server->http_referer, 'parent')); + if(!strip_tags($this->post->lastComment, '')) die(js::locate($this->server->http_referer, 'parent')); $this->action->updateComment($actionID); die(js::locate($this->server->http_referer, 'parent')); } diff --git a/module/action/lang/zh-cn.php b/module/action/lang/zh-cn.php index 54c5f909d8..bbd3fa2a2c 100755 --- a/module/action/lang/zh-cn.php +++ b/module/action/lang/zh-cn.php @@ -156,7 +156,7 @@ $lang->action->label->todo = 'todo|todo|view|todoID=%s'; $lang->action->label->doclib = '文档库|doc|browse|libID=%s'; $lang->action->label->doc = '文档|doc|view|docID=%s'; $lang->action->label->user = '用户|user|view|account=%s'; -$lang->action->label->space = ' '; +$lang->action->label->space = ' '; /* Object type. */ $lang->action->search->objectTypeList[''] = '';