Commit 78fd1a14 authored by Dries's avatar Dries

- Patch #245322 by mfb: fixed breadcrumb behavior.

parent 1065e380
......@@ -60,7 +60,6 @@ function aggregator_page_source($arg1, $arg2 = NULL) {
* The items HTML.
*/
function aggregator_page_category($arg1, $arg2 = NULL) {
drupal_set_breadcrumb(array_merge(drupal_get_breadcrumb(), array(l(t('Categories'), 'aggregator/categories'))));
// If there are two arguments then we are called as a form, $arg1 is
// $form_state and $arg2 is $category. Otherwise, $arg1 is $category.
$category = is_array($arg2) ? $arg2 : $arg1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment