* use $this->post->turnon instead of $this->config->mail->turnon.

This commit is contained in:
wangchunsheng
2013-05-05 02:20:30 +00:00
parent 6f71f86181
commit 63ae1adcfa

View File

@@ -17,7 +17,7 @@ include '../../common/view/header.html.php';
<td>
<?php
echo $lang->mail->successSaved;
if($this->config->mail->turnon and $mailExist) echo html::linkButton($lang->mail->test, inlink('test'));
if($this->post->turnon and $mailExist) echo html::linkButton($lang->mail->test, inlink('test'));
?>
</td>
</tr>