Minor updates

This commit is contained in:
Deon George
2012-11-27 16:46:43 +11:00
parent ea1346447f
commit e00c3751de
7 changed files with 82 additions and 12 deletions

View File

@@ -39,7 +39,9 @@ class Controller_Domain extends Controller_TemplateDefault {
));
}
public function action_detail($domain_name=NULL) {
public function action_detail() {
$domain_name = $this->request->param('id');
if (is_null($domain_name) AND (empty($_POST['domain_name']) OR ! $domain_name = $_POST['domain_name'])) {
SystemMessage::add(array(
'title'=>_('DOMAIN_NAME is required'),