X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FFile_redirection.php;h=292e6372a65374687385e2180254c57849ff4077;hb=d968247f754d66f76e5715b3d1e6933328270eaa;hp=0bcccc6cffbbb52ecd8aa4b0100e2afe6cd93dda;hpb=095ca9e7f63ac41ddc3494f942f631cd1ab5ba87;p=quix0rs-gnu-social.git diff --git a/classes/File_redirection.php b/classes/File_redirection.php index 0bcccc6cff..292e6372a6 100644 --- a/classes/File_redirection.php +++ b/classes/File_redirection.php @@ -332,7 +332,7 @@ class File_redirection extends Managed_DataObject return $out_url; } - function saveNew($data, $file_id, $url) { + function saveNew(array $data, $file_id, $url) { $file_redir = new File_redirection; $file_redir->url = $url; $file_redir->file_id = $file_id;