mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
added spaces + curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
f3529e7dbc
commit
fc9dbc0899
5 changed files with 27 additions and 13 deletions
|
@ -324,11 +324,13 @@ function localize_item(&$item){
|
|||
// add sparkle links to appropriate permalinks
|
||||
|
||||
$x = stristr($item['plink'],'/display/');
|
||||
if($x) {
|
||||
if ($x) {
|
||||
$sparkle = false;
|
||||
$y = best_link_url($item,$sparkle,true);
|
||||
if(strstr($y,'/redir/'))
|
||||
|
||||
if (strstr($y,'/redir/')) {
|
||||
$item['plink'] = $y . '?f=&url=' . $item['plink'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue