Skip to content

Commit

Permalink
Fix the permission for the toggle object feature assertion
Browse files Browse the repository at this point in the history
fixes #9198
  • Loading branch information
Alexander Fuhr committed May 4, 2015
1 parent ab0b478 commit 993cb31
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ public function init()
*/
public function createElements(array $formData = array())
{
$toggleDisabled = $this->hasPermission('monitoring/command/feature/instance') ? null : '';
$toggleDisabled = $this->hasPermission('monitoring/command/feature/object') ? null : '';
$this->addElements(array(
array(
'checkbox',
Expand Down

0 comments on commit 993cb31

Please sign in to comment.