$longurl->url is just the same $canon we fed to File_redirection::where()
This commit is contained in:
parent
64f2f3d976
commit
8b78e01d4c
|
@ -980,7 +980,7 @@ function common_linkify($url) {
|
|||
} else {
|
||||
$canon = File_redirection::_canonUrl($url);
|
||||
$longurl_data = File_redirection::where($canon, common_config('attachments', 'process_links'));
|
||||
$longurl = $longurl_data->url;
|
||||
$longurl = $longurl_data->redir_url;
|
||||
}
|
||||
|
||||
$attrs = array('href' => $canon, 'title' => $longurl);
|
||||
|
|
Loading…
Reference in New Issue
Block a user