Permalink
Browse files

Fix bug when addin a new jail

  • Loading branch information...
1 parent c02d93d commit 5ed527176a0f5e428dc4dcd444f346ed99bf16b6 @lattera committed Dec 5, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −1 classes/Jail.php
  2. +0 −1 jailadmin.admin.inc
View
@@ -228,7 +228,6 @@ public function Create($template='') {
->fields(array(
'name' => $this->name,
'dataset' => $this->dataset,
- 'route' => $this->route,
))->execute();
}
View
@@ -126,7 +126,6 @@ function jailadmin_admin_settings_submit($form, &$form_state) {
$template = '';
$name = $form_state['values']['new_name'];
$dataset = $form_state['values']['new_dataset'];
- $route = $form_state['values']['new_route'];
if (isset($form_state['values']['new_template']) && strlen($form_state['values']['new_template']))
$template = $form_state['values']['new_template'];

0 comments on commit 5ed5271

Please sign in to comment.