* fix bug.

This commit is contained in:
wangyidong
2015-03-06 14:01:58 +08:00
parent fdc283afd7
commit d4def96048
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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, '<img>')) die(js::locate($this->server->http_referer, 'parent'));
$this->action->updateComment($actionID);
die(js::locate($this->server->http_referer, 'parent'));
}
+1 -1
View File
@@ -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[''] = '';