From: hannes Date: Tue, 5 Jan 2016 23:07:24 +0000 (+0000) Subject: add $redir->redir_url to use in common_linkify() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c25cffbd845d42d8e081282fddb9a491cecb71b;p=quix0rs-gnu-social.git add $redir->redir_url to use in common_linkify() --- diff --git a/classes/File_redirection.php b/classes/File_redirection.php index a324deaa5d..03df3de1b1 100644 --- a/classes/File_redirection.php +++ b/classes/File_redirection.php @@ -195,6 +195,7 @@ class File_redirection extends Managed_DataObject $redir->httpcode = $redir_info['code']; $redir->redirections = intval($redir_info['redirects']); + $redir->redir_url = $redir_info['url']; $redir->file = new File(); $redir->file->url = $redir_info['url']; $redir->file->mimetype = $redir_info['type']; @@ -396,4 +397,4 @@ class File_redirection extends Managed_DataObject return $this->file; } -} +} \ No newline at end of file