Commit b046dc80 authored by Philippe Mouchel's avatar Philippe Mouchel
Browse files

No more warning about language

[refs #70720]
parent d960c5a2
......@@ -71,7 +71,7 @@ function _sharer_toolbar_generate_sharer_url(&$sharer_url, $variables) {
// URL replacement
$node_url = url('node/' . $variables['nid'], array(
'language' => $variables['language'],
'language' => (object) array('language' => $variables['language']),
));
$sharer_url = str_replace('[:shared_url:]', $base_url . $node_url, $sharer_url);
......
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