From 1c25cffbd845d42d8e081282fddb9a491cecb71b Mon Sep 17 00:00:00 2001 From: hannes Date: Tue, 5 Jan 2016 23:07:24 +0000 Subject: [PATCH] add $redir->redir_url to use in common_linkify() --- classes/File_redirection.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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