Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

drupal7/modules/blog/blog.module
152 152
    }
153 153
  }
154 154
  // Provide a helper action link to the author on the 'blog/%' page.
155
  elseif ($root_path == 'blog/%' && $router_item['page_arguments'][0]->uid == $user->uid) {
155
  elseif ($root_path == 'blog/%' && isset($router_item['page_arguments'][0]->uid) && $router_item['page_arguments'][0]->uid == $user->uid) {
156 156
    $data['actions']['output']['blog'] = array(
157 157
      '#theme' => 'menu_local_action',
158 158
    );

Also available in: Unified diff