Skip to content
Snippets Groups Projects
Commit b4f2f168 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #199508 by Pancho: parameters for form validation and submission have changed.

parent ae8a4c18
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -180,7 +180,7 @@ function aggregator_categorize_items($items, $feed_source = '') {
/**
* Validate aggregator_categorize_items form submissions.
*/
function aggregator_categorize_items_validate($form_id, &$form) {
function aggregator_categorize_items_validate($form, &$form_state) {
if (!user_access('administer news feeds')) {
form_error($form, t('You are not allowed to categorize this feed item.'));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment