Fixed the attributes list and edition form

This commit is contained in:
Manuel Cillero 2017-09-03 16:20:40 +02:00
parent f919b88f58
commit 977630f995
3 changed files with 15 additions and 14 deletions

View file

@ -661,7 +661,7 @@ function storm_menu() {
'title' => 'Edit an attribute',
'description' => 'SuiteDesk attributes',
'page callback' => 'drupal_get_form',
'page arguments' => array('storm_attribute_edit', 3),
'page arguments' => array('storm_attribute_edit', 2),
'access arguments' => array('Storm: access administration pages'),
'file' => 'storm.admin.inc',
'type' => MENU_CALLBACK,
@ -671,7 +671,7 @@ function storm_menu() {
'title' => 'Delete an attribute',
'description' => 'SuiteDesk attributes',
'page callback' => 'drupal_get_form',
'page arguments' => array('storm_attribute_delete', 3),
'page arguments' => array('storm_attribute_delete', 2),
'access arguments' => array('Storm: access administration pages'),
'file' => 'storm.admin.inc',
'type' => MENU_CALLBACK,