Skip to content
Snippets Groups Projects
Commit 23e0d167 authored by catch's avatar catch
Browse files

Issue #1943800 by mtift: Fixed form_execute_handlers() has an undocumented...

Issue #1943800 by mtift: Fixed form_execute_handlers() has an undocumented return which is never used.
parent f8bc3677
No related branches found
No related tags found
No related merge requests found
......@@ -1505,7 +1505,6 @@ function _form_validate(&$elements, &$form_state, $form_id = NULL) {
* defined, those handlers will be stored here.
*/
function form_execute_handlers($type, &$form, &$form_state) {
$return = FALSE;
// If there was a button pressed, use its handlers.
if (isset($form_state[$type . '_handlers'])) {
$handlers = $form_state[$type . '_handlers'];
......@@ -1532,9 +1531,7 @@ function form_execute_handlers($type, &$form, &$form_state) {
else {
call_user_func_array($function, array(&$form, &$form_state));
}
$return = TRUE;
}
return $return;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment