From 4b69ef41e2fb960d05cadef205766bd254b24e45 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 13 Oct 2015 22:57:45 +0200 Subject: [PATCH] Bad variable name in File_redirection --- classes/File_redirection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/File_redirection.php b/classes/File_redirection.php index 2b6f86ed27..08302c51d7 100644 --- a/classes/File_redirection.php +++ b/classes/File_redirection.php @@ -336,7 +336,7 @@ class File_redirection extends Managed_DataObject static function saveNew($data, $file_id, $url) { $file_redir = new File_redirection; - $file_redir->urlhash = File::hashurl($short_url); + $file_redir->urlhash = File::hashurl($url); $file_redir->url = $url; $file_redir->file_id = $file_id; $file_redir->redirections = intval($data['redirects']); -- 2.39.2