You are here

function aggregator_categorize_items_validate in Drupal 6

Validate aggregator_categorize_items form submissions.

1 string reference to 'aggregator_categorize_items_validate'
aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
Form builder; build the page list form.

File

modules/aggregator/aggregator.pages.inc, line 181
User page callbacks for the aggregator module.

Code

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.'));
  }
}