forked from GNUsocial/gnu-social
Hannes Mannerheim's merge request 8 from Gitorious
This commit is contained in:
commit
bfe869b8fb
@ -132,7 +132,7 @@ class MediaFile
|
||||
{
|
||||
$file_redir = File_redirection::getKV('url', $url);
|
||||
|
||||
if ($file_redir instanceof File_redirection) {
|
||||
if (!$file_redir instanceof File_redirection) {
|
||||
$file_redir = new File_redirection;
|
||||
$file_redir->url = $url;
|
||||
$file_redir->file_id = $file_id;
|
||||
|
Loading…
Reference in New Issue
Block a user