commit a879c576b1690abd18363c66d90f688ca5a26b78 Author: kgoel Date: Fri May 24 19:46:32 2013 -0400 Fixed remaining issue comment#18 diff --git a/core/modules/shortcut/lib/Drupal/shortcut/Form/SetSwitch.php b/core/modules/shortcut/lib/Drupal/shortcut/Form/SetSwitch.php index 4fae0dc..766ff7a 100644 --- a/core/modules/shortcut/lib/Drupal/shortcut/Form/SetSwitch.php +++ b/core/modules/shortcut/lib/Drupal/shortcut/Form/SetSwitch.php @@ -146,7 +146,7 @@ public function buildForm(array $form, array &$form_state, $account = NULL) { /** * Validation handler for shortcut_set_switch(). */ -function shortcut_set_switch_validate(array $form, array &$form_state) { +function validateForm(array $form, array &$form_state) { if ($form_state['values']['set'] == 'new') { // Check to prevent creating a shortcut set with an empty title. if (trim($form_state['values']['label']) == '') { @@ -162,7 +162,7 @@ function shortcut_set_switch_validate(array $form, array &$form_state) { /** * Submit handler for shortcut_set_switch(). */ -function shortcut_set_switch_submit(array $form, array &$form_state) { +function submitForm(array $form, array &$form_state) { global $user; $account = $form_state['values']['account'];