function conentCheck() { global $db_tcheck; $postcheck = unserialize($this->post->user['postcheck']); $checkValue = $this->post->fromGroup ? $postcheck['group'] : $postcheck['post']; if ($db_tcheck && $checkValue == PwPost::tcheck($this->data['content'])) { return $this->post->showmsg('content_same'); } }
function conentCheck() { global $db_tcheck; if ($db_tcheck && $this->post->user['postcheck'] == PwPost::tcheck($this->data['content'])) { return $this->post->showmsg('content_same'); } }