Commit dd5e1054f0
Verified · cmc
Layout: unified · split
search.php +1 −1
| @@ -245,7 +245,7 @@ | |||
| 245 | 245 | ||
| 246 | if ($post->followed != true) { | 246 | if ($post->followed != true) { |
| 247 | // Send user to action.php to follow a new blog | 247 | // Send user to action.php to follow a new blog |
| 248 | $query_string = 'action=follow&blog_name=' . urlencode($post->blog_name) . '&callback=' . urlencode('https://' . $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI]); | 248 | $query_string = 'action=follow&blog_name=' . urlencode($post->blog_name) . '&callback=' . urlencode('https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); |
| 249 | $card_columns .= '<a href="action.php?' . htmlentities($query_string) . '"><i data-feather="user-plus"></i></a></div>'; | 249 | $card_columns .= '<a href="action.php?' . htmlentities($query_string) . '"><i data-feather="user-plus"></i></a></div>'; |
| 250 | } else { | 250 | } else { |
| 251 | $card_columns .= '</div>'; | 251 | $card_columns .= '</div>'; |