We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit bfe869b8 authored by mattl's avatar mattl

Hannes Mannerheim's merge request 8 from Gitorious

parents 78781050 5a72a259
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment