link_compare calls
implement compareLink function.
This commit is contained in:
@@ -116,7 +116,7 @@ function redir_init(App $a) {
|
||||
if (!empty($url)) {
|
||||
$my_profile = Profile::getMyURL();
|
||||
|
||||
if (!empty($my_profile) && !link_compare($my_profile, $url)) {
|
||||
if (!empty($my_profile) && !Strings::compareLink($my_profile, $url)) {
|
||||
$separator = strpos($url, '?') ? '&' : '?';
|
||||
|
||||
$url .= $separator . 'zrl=' . urlencode($my_profile);
|
||||
|
||||
Reference in New Issue
Block a user