Skip to content

Commit

Permalink
Merge pull request #15 from ArthurHoaro/feature/new-permalinks
Browse files Browse the repository at this point in the history
Update permalink URL to new format (Shaarli v0.12.0)
  • Loading branch information
ArthurHoaro authored Oct 13, 2020
2 parents a647746 + 7c35ee0 commit 2165c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaarli2twitter/shaarli2twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function hook_shaarli2twitter_save_link($data, $conf)
}


$data['permalink'] = index_url($_SERVER) . '?' . $data['shorturl'];
$data['permalink'] = index_url($_SERVER) . 'shaare/' . $data['shorturl'];

// In case of note, we use permalink
if (s2t_is_link_note($data)) {
Expand Down

0 comments on commit 2165c7f

Please sign in to comment.