스팸필터 설정시 처리 간격을 0으로 할 경우 동작하지 않도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4167 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-05-02 06:58:26 +00:00
parent adc4ca1bfe
commit 9ed3dd3121
2 changed files with 3 additions and 2 deletions

View file

@ -90,7 +90,8 @@
function checkLimited() {
$config = $this->getConfig();
$limit_count = $config->limit_count?$config->limit_count:5;
$interval = $config->interval?$config->interval:60;
$interval = $config->interval;
if(!$interval) return new Object();
$count = $this->getLogCount($interval);

View file

@ -10,7 +10,7 @@
<tr>
<th scope="col">{$lang->interval}</th>
<td class="left">
<input type="text" name="interval" value="{$config->interval?$config->interval:60}" class="inputTypeText" /> {$lang->unit_sec}
<input type="text" name="interval" value="{$config->interval}" class="inputTypeText" /> {$lang->unit_sec}
<p>{$lang->about_interval}</p>
</td>
</tr>