diff --git a/modules/monitoring/application/controllers/ConfigController.php b/modules/monitoring/application/controllers/ConfigController.php index 8c5322f4d..ab3e029d4 100644 --- a/modules/monitoring/application/controllers/ConfigController.php +++ b/modules/monitoring/application/controllers/ConfigController.php @@ -34,7 +34,7 @@ class ConfigController extends Controller */ public function editbackendAction() { - $backendName = $this->params->getRequired('backend'); + $backendName = $this->params->getRequired('backend-name'); $form = new BackendConfigForm(); $form->setRedirectUrl('monitoring/config'); @@ -120,7 +120,7 @@ class ConfigController extends Controller */ public function removebackendAction() { - $backendName = $this->params->getRequired('backend'); + $backendName = $this->params->getRequired('backend-name'); $backendForm = new BackendConfigForm(); $backendForm->setIniConfig($this->Config('backends')); diff --git a/modules/monitoring/application/views/scripts/config/index.phtml b/modules/monitoring/application/views/scripts/config/index.phtml index d0e75c0ff..8f5e49427 100644 --- a/modules/monitoring/application/views/scripts/config/index.phtml +++ b/modules/monitoring/application/views/scripts/config/index.phtml @@ -21,7 +21,7 @@ qlink( $backendName, '/monitoring/config/editbackend', - array('backend' => $backendName), + array('backend-name' => $backendName), array( 'icon' => 'edit', 'title' => sprintf($this->translate('Edit monitoring backend %s'), $backendName) @@ -36,7 +36,7 @@ qlink( '', '/monitoring/config/removebackend', - array('backend' => $backendName), + array('backend-name' => $backendName), array( 'icon' => 'trash', 'title' => sprintf($this->translate('Remove monitoring backend %s'), $backendName)