forked from GNUsocial/gnu-social
Bad variable name in File_redirection
This commit is contained in:
parent
e379c49d49
commit
4b69ef41e2
@ -336,7 +336,7 @@ class File_redirection extends Managed_DataObject
|
|||||||
|
|
||||||
static function saveNew($data, $file_id, $url) {
|
static function saveNew($data, $file_id, $url) {
|
||||||
$file_redir = new File_redirection;
|
$file_redir = new File_redirection;
|
||||||
$file_redir->urlhash = File::hashurl($short_url);
|
$file_redir->urlhash = File::hashurl($url);
|
||||||
$file_redir->url = $url;
|
$file_redir->url = $url;
|
||||||
$file_redir->file_id = $file_id;
|
$file_redir->file_id = $file_id;
|
||||||
$file_redir->redirections = intval($data['redirects']);
|
$file_redir->redirections = intval($data['redirects']);
|
||||||
|
Loading…
Reference in New Issue
Block a user