* fix bug.
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
@@ -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[''] = '';
|
||||
|
||||
Reference in New Issue
Block a user