The problem lies in notifications_content.module, line 51:

$items['user/%user/notifications/author'] = array(
    'type' => MENU_LOCAL_TASK,
    'access callback' => FALSE,
    'title' => t('Author'),
    'page callback' => 'notifications_content_page_author',
    'pàge arguments' => array(1),
    'weight' => 10,
    'file' => 'notifications_content.pages.inc',
  );

Took me a while to see it, but you'll notice that there's something a little different with the page arguments array index :)

Later on, when notifications_content_page_author() gets called, there will be no argument passed in since there are no 'page arguments' defined, so it will use the global $user object to gather the info to render the page. So let's say you have an admin trying to view the author subscriptions for user 5. Instead of seeing user 5's author subscriptions, the admin sees their own author subscriptions.

CommentFileSizeAuthor
#1 notifications_content.module.patch563 bytesjustageek
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

justageek’s picture

I have attached a patch that fixes the 'Author' menu option in the notifications_content.module menu hook.

kevin.dutra’s picture

Status: Active » Reviewed & tested by the community

Thanks for the patch. Apparently I forgot to make one :)

  • Nafes committed e696a43 on 6.x-2.x authored by justageek
    Issue #1204364 by justageek: Author subscription page does not display...
Nafes’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Committed. Thanks, kevin.dutra and justageek!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.