Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
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 |
); |
Formats disponibles : Unified diff
Update to Drupal 7.52