Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
Sharer toolbar module
Commits
b046dc80
Commit
b046dc80
authored
Apr 13, 2015
by
Philippe Mouchel
Browse files
No more warning about language
[refs #70720]
parent
d960c5a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
sharer_toolbar.inc
View file @
b046dc80
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment