r3468 롤백

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3470 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-01-05 07:00:54 +00:00
parent 2b5b3c749c
commit 7c18ef7a11

View file

@ -76,11 +76,7 @@
}
function allowTrackback() {
$module_srl = Context::get('module_srl');
$oTrackbackModel = &getModel('trackback');
$module_config = &$oTrackbackModel->getTrackbackModuleConfig($module_srl);
if($module_config->enable_trackback == 'Y' && $this->get('allow_trackback') == 'Y' && $this->isExists()) return true;
return false;
return $this->get('allow_trackback') == 'Y' || !$this->isExists() ? true : false;
}
function isLocked() {