From: Mikael Nordfeldth Date: Tue, 13 Oct 2015 20:57:45 +0000 (+0200) Subject: Bad variable name in File_redirection X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b69ef41e2fb960d05cadef205766bd254b24e45;p=quix0rs-gnu-social.git Bad variable name in File_redirection --- 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']);