updated drupal core to 7.51
This commit is contained in:
@@ -5,8 +5,8 @@ version = VERSION
|
||||
core = 7.x
|
||||
files[] = blog.test
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-02-24
|
||||
version = "7.43"
|
||||
; Information added by Drupal.org packaging script on 2016-10-05
|
||||
version = "7.51"
|
||||
project = "drupal"
|
||||
datestamp = "1456343506"
|
||||
datestamp = "1475694174"
|
||||
|
||||
|
@@ -152,7 +152,7 @@ function blog_menu_local_tasks_alter(&$data, $router_item, $root_path) {
|
||||
}
|
||||
}
|
||||
// Provide a helper action link to the author on the 'blog/%' page.
|
||||
elseif ($root_path == 'blog/%' && $router_item['page_arguments'][0]->uid == $user->uid) {
|
||||
elseif ($root_path == 'blog/%' && isset($router_item['page_arguments'][0]->uid) && $router_item['page_arguments'][0]->uid == $user->uid) {
|
||||
$data['actions']['output']['blog'] = array(
|
||||
'#theme' => 'menu_local_action',
|
||||
);
|
||||
|
Reference in New Issue
Block a user